index af8c4121abfc28b7e289b39936df45bd5b82cf22..ca01053bcc88806aae9abde5892b8c163b3936d0 100755 (executable)
'
. ./test-lib.sh
-touch foo bar
-git update-index --add foo bar
-git-commit -m "add foo bar"
+test_expect_success 'setup' '
+ touch foo bar &&
+ git update-index --add foo bar &&
+ git commit -m "add foo bar"
+'
test_expect_success \
'git ls-files --error-unmatch should fail with unmatched path.' \
'git ls-files --error-unmatch foo bar'
test_done
-1