X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/205837d4684f331afa93c946cbdfa1fa9b3d1ce9..629659d2cffbf059374fc53e6400ff0bebe1ddde:/tests/t0109-gitconfig.sh diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh index 8cee75c..189ef28 100755 --- a/tests/t0109-gitconfig.sh +++ b/tests/t0109-gitconfig.sh @@ -25,7 +25,7 @@ test_no_home_access () { -E CGIT_CONFIG="$PWD/cgitrc" \ -E QUERY_STRING="url=$1" \ -e access -f -o strace.out cgit && - test_must_fail grep "$non_existent_path" strace.out + ! grep "$non_existent_path" strace.out } test_no_home_access_success() {