X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3002-ls-files-dashpath.sh;h=8687a01d2b169c1afafcd811d9108a85ad9fdd56;hb=f539d0d6c1f0b4431c0711e290d1f5a7205ed6e6;hp=cc8967d76b10e18eb6b7db69fbb31baf702f2efc;hpb=aa576e6b47d8e20d0d56d0e9f9fc2ecce5bae1e1;p=git.git diff --git a/t/t3002-ls-files-dashpath.sh b/t/t3002-ls-files-dashpath.sh index cc8967d76..8687a01d2 100755 --- a/t/t3002-ls-files-dashpath.sh +++ b/t/t3002-ls-files-dashpath.sh @@ -3,9 +3,9 @@ # Copyright (c) 2005 Junio C Hamano # -test_description='git-ls-files test (-- to terminate the path list). +test_description='git ls-files test (-- to terminate the path list). -This test runs git-ls-files --others with the following on the +This test runs git ls-files --others with the following on the filesystem. path0 - a file @@ -21,8 +21,8 @@ test_expect_success \ echo frotz >./--' test_expect_success \ - 'git-ls-files without path restriction.' \ - 'git-ls-files --others >output && + 'git ls-files without path restriction.' \ + 'git ls-files --others >output && git diff output - <output && + 'git ls-files with path restriction.' \ + 'git ls-files --others path0 >output && git diff output - <output && + 'git ls-files with path restriction with --.' \ + 'git ls-files --others -- path0 >output && git diff output - <output && + 'git ls-files with path restriction with -- --.' \ + 'git ls-files --others -- -- >output && git diff output - <output && + 'git ls-files with no path restriction.' \ + 'git ls-files --others -- >output && git diff output - <