]> 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 08:44:31 +0000 (09:44 +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 e9f9deda7af033638becedefc81b944ef3aa07fa..4d1f52152df7349ca9f6df025319fdd42a684cc9 100644 (file)
@@ -296,6 +296,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