tests: fix cleanup after tests in t1509-root-worktree
[git/git.git] / t / t1509-root-worktree.sh
index 0c80129..553a3f6 100755 (executable)
@@ -242,7 +242,7 @@ say "auto bare gitdir"
 # DESTROYYYYY!!!!!
 test_expect_success 'setup' '
        rm -rf /refs /objects /info /hooks &&
-       rm /* &&
+       rm -f /expected /ls.expected /me /result &&
        cd / &&
        echo "Initialized empty Git repository in /" > expected &&
        git init --bare > result &&