X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0002-gitfile.sh;h=cb144258ccc3f32025c4b7beba6ac02c427612d8;hb=3fdd37fe1520765d1d207737ab65415e3d2ca174;hp=4db4ac44c9611398db46dfbe2688c95e3b03605b;hpb=2b603260f325b895baa20867bd45c8e251f19b78;p=git.git diff --git a/t/t0002-gitfile.sh b/t/t0002-gitfile.sh index 4db4ac44c..cb144258c 100755 --- a/t/t0002-gitfile.sh +++ b/t/t0002-gitfile.sh @@ -32,7 +32,7 @@ test_expect_success 'bad setup: invalid .git file format' ' echo "git rev-parse accepted an invalid .git file" false fi && - if ! grep -qe "Invalid gitfile format" .err + if ! grep "Invalid gitfile format" .err then echo "git rev-parse returned wrong error" false @@ -46,7 +46,7 @@ test_expect_success 'bad setup: invalid .git file path' ' echo "git rev-parse accepted an invalid .git file path" false fi && - if ! grep -qe "Not a git repository" .err + if ! grep "Not a git repository" .err then echo "git rev-parse returned wrong error" false