diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh index 74666ff3e4..b8936a653b 100755 --- a/t/t3903-stash.sh +++ b/t/t3903-stash.sh @@ -895,6 +895,7 @@ test_expect_success 'branch: should not drop the stash if the apply fails' ' test_expect_success 'apply: show same status as git status (relative to ./)' ' git stash clear && + mkdir -p subdir && echo 1 >subdir/subfile1 && echo 2 >subdir/subfile2 && git add subdir/subfile1 && @@ -1327,6 +1328,7 @@ test_expect_success 'stash -k -- leaves unstaged files intact' ' test_expect_success 'stash -- leaves untracked files in subdir intact' ' git reset && + mkdir -p subdir && >subdir/untracked && >subdir/tracked1 && >subdir/tracked2 && @@ -1343,6 +1345,7 @@ test_expect_success 'stash -- leaves untracked files in subdir intact' test_expect_success 'stash -- works with binary files' ' git reset && + mkdir -p subdir && >subdir/untracked && >subdir/tracked && cp "$TEST_DIRECTORY"/test-binary-1.png subdir/tracked-binary &&