tests: use 'test_must_be_empty' instead of 'test ! -s'
[gitweb.git] / t / t0000-basic.sh
index af61d083b452c7973a2a703ef35fb57b76af84da..4e588eda092546c0898de5cb372efee2326341be 100755 (executable)
@@ -116,7 +116,7 @@ check_sub_test_lib_test () {
        name="$1" # stdin is the expected output from the test
        (
                cd "$name" &&
-               ! test -s err &&
+               test_must_be_empty err &&
                sed -e 's/^> //' -e 's/Z$//' >expect &&
                test_cmp expect out
        )