]> 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 07:20:54 +0000 (08:20 +0100)
(cherry picked from commit 10bf725ee2500d5469ead305b6684b150267ff4d)

bin/tests/system/run.sh

index 8e2e97c94a2012537a9600cadaa8d4427596a402..7124a6cf320640d50a525730d5ffe0f8e3fe1604 100755 (executable)
@@ -313,9 +313,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