check_filename: tighten dwim-wildcard ambiguity
[gitweb.git] / t / t7001-mv.sh
index 69f11bd40d56cb945023ee0d299acd6d6f4a5fed..7b56081137396680df58c887ffe7919d98f6480c 100755 (executable)
@@ -161,10 +161,7 @@ test_expect_success "Michael Cassar's test case" '
        git mv papers/unsorted/Thesis.pdf papers/all-papers/moo-blah.pdf &&
 
        T=`git write-tree` &&
-       git ls-tree -r $T | grep partA/outline.txt || {
-               git ls-tree -r $T
-               (exit 1)
-       }
+       git ls-tree -r $T | verbose grep partA/outline.txt
 '
 
 rm -fr papers partA path?