summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-08-27 14:33:48 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-08-27 14:33:48 -0700
commit5f0ed3e204d7c79f5307e5c0ffe213d221749055 (patch)
treedce99446bfeba50eebe57855dfd1950be90340b1
parentMerge branch 'sg/t7501-thinkofix' (diff)
parentt3903-stash: don't try to grep non-existing file (diff)
downloadtgif-5f0ed3e204d7c79f5307e5c0ffe213d221749055.tar.xz
Merge branch 'sg/t3903-missing-fix'
Test fixes. * sg/t3903-missing-fix: t3903-stash: don't try to grep non-existing file
-rwxr-xr-xt/t3903-stash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
index 1f871d3cca..6450bc6698 100755
--- a/t/t3903-stash.sh
+++ b/t/t3903-stash.sh
@@ -724,7 +724,7 @@ test_expect_success 'store updates stash ref and reflog' '
git add bazzy &&
STASH_ID=$(git stash create) &&
git reset --hard &&
- ! grep quux bazzy &&
+ test_path_is_missing bazzy &&
git stash store -m quuxery $STASH_ID &&
test $(git rev-parse stash) = $STASH_ID &&
git reflog --format=%H stash| grep $STASH_ID &&