diff --git a/t/t3700-add.sh b/t/t3700-add.sh index 0a962a60f2..16ab2da8a2 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -380,7 +380,7 @@ test_expect_success 'no file status change if no pathspec is given' ' ' test_expect_success 'no file status change if no pathspec is given in subdir' ' - mkdir sub && + mkdir -p sub && ( cd sub && >sub-foo1 &&