Skip to content

Commit 6f71fb3

Browse files
committed
t/pack-refs-tests: drop '-f' from test_path_is_missing
test_path_is_missing expects exactly one argument: the path to check for absence. Passing '-f' is incorrect and results in "bug in the test script: 1 param" during test execution. The '-f' flag appears to have been carried over from the equivalent 'test -f' usage, but test_path_is_missing does not accept such flags. Remove the extraneous '-f' to use the helper correctly and restore proper test behavior. Signed-off-by: Jayesh Daga <jayeshdaga99@gmail.com>
1 parent d9fff1a commit 6f71fb3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

t/pack-refs-tests.sh

100755100644
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
#!/bin/sh
2-
3-
test_description='test pack-refs'
4-
5-
. ./test-lib.sh
6-
71
pack_refs=${pack_refs:-pack-refs}
82

93
test_expect_success 'enable reflogs' '

0 commit comments

Comments
 (0)