]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add system test name to "file not removed" info
authorMichal Nowak <mnowak@isc.org>
Mon, 15 Feb 2021 11:03:52 +0000 (12:03 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 18 Feb 2021 08:42:12 +0000 (09:42 +0100)
(cherry picked from commit 10bf725ee2500d5469ead305b6684b150267ff4d)

bin/tests/system/run.sh

index f336d37d139ad933e0d719bdfd6728041f663fed..14d204a0496c31568912152bbfc3f222cc5a8fb7 100644 (file)
@@ -246,9 +246,9 @@ else
         ( cd $systest && $SHELL clean.sh "$@" )
         if test -d ../../../.git; then
             git status -su --ignored $systest 2>/dev/null | \
-            sed -n -e 's|^?? \(.*\)|I:file \1 not removed|p' \
-            -e 's|^!! \(.*/named.run\)$|I:file \1 not removed|p' \
-            -e 's|^!! \(.*/named.memstats\)$|I:file \1 not removed|p'
+            sed -n -e 's|^?? \(.*\)|I:'${systest}':file \1 not removed|p' \
+            -e 's|^!! \(.*/named.run\)$|I:'${systest}':file \1 not removed|p' \
+            -e 's|^!! \(.*/named.memstats\)$|I:'${systest}':file \1 not removed|p'
         fi
     fi
 fi