mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-27 02:02:50 -04:00
Do not spam console if "git status --ignored" fails during tests
The "git status" command in Git versions before 1.7.2 does not support
the "--ignored" option. Prevent spamming the console when running
system tests from a Git repository on a host with an ancient Git version
installed.
(cherry picked from commit 2be97feb46)
This commit is contained in:
parent
e0dbc27c0d
commit
12bedaef75
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ else
|
|||
$SHELL clean.sh $runall $systest "$@"
|
||||
if test -d ../../../.git
|
||||
then
|
||||
git status -su --ignored $systest | \
|
||||
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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue