Merge branch 'aw/maint-shortlog-blank-lines'
[gitweb.git] / t / t7300-clean.sh
index 38403643a6271ae4e6bb5a9c7d768ae4b50df34d..4037142927ab1b255da90d8f08207841b4e4c993 100755 (executable)
@@ -320,8 +320,9 @@ test_expect_success 'removal failure' '
 
        mkdir foo &&
        touch foo/bar &&
+       exec <foo/bar &&
        chmod 0 foo &&
-       ! git clean -f -d
+       test_must_fail git clean -f -d
 
 '
 chmod 755 foo