]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check for "file not removed" in system test output
authorMichal Nowak <mnowak@isc.org>
Mon, 15 Feb 2021 10:59:33 +0000 (11:59 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 18 Feb 2021 07:20:54 +0000 (08:20 +0100)
Run this check only when in Git repository, because run.sh produces the
"file not removed" warnings only when in Git repository.

(cherry picked from commit 4a2778abdff4b91bde3cdc5cf28e22a77494b206)

.gitlab-ci.yml

index 713b55ba3d02a5ea80da6a471621e188fc92b5a0..ada73bd6441981780bd98a1cc66b9cea197bc9a0 100644 (file)
@@ -292,6 +292,7 @@ stages:
   script:
     - ( cd bin/tests/system && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1 )
     - test -s bin/tests/system/systests.output
+    - if git rev-parse > /dev/null 2>&1; then ( ! grep "^I:.*:file.*not removed$" bin/tests/system/systests.output ); fi
 
 .system_test: &system_test_job
   <<: *system_test_common