From: Joel Rosdahl Date: Mon, 22 Jan 2018 09:56:06 +0000 (+0100) Subject: test: Check that dependency file contains the correct object name X-Git-Tag: v3.4~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21fde06e0840ec0c1b3270731ac0c9a896b7a92b;p=thirdparty%2Fccache.git test: Check that dependency file contains the correct object name --- diff --git a/test.sh b/test.sh index 22ada23e0..9dce166d4 100755 --- a/test.sh +++ b/test.sh @@ -1535,6 +1535,9 @@ EOF if [ ! -f $dep_file ]; then test_failed "$dep_file missing" fi + if ! grep "test$ext:" $dep_file >/dev/null 2>&1; then + test_failed "$dep_file does not contain test$ext" + fi done expect_stat 'files in cache' 12