From 2d2b8e7c0258089c7f8f24368f6027bc410edaae Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Thu, 27 Aug 2020 14:14:57 +0200 Subject: [PATCH] Silence two grep calls --- bin/tests/system/kasp/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/kasp/tests.sh b/bin/tests/system/kasp/tests.sh index 1110d132c8..cd045b0a97 100644 --- a/bin/tests/system/kasp/tests.sh +++ b/bin/tests/system/kasp/tests.sh @@ -1549,14 +1549,14 @@ basefile=$(key_get KEY1 BASEFILE) n=$((n+1)) echo_i "checkds publish correctly sets DSPublish for zone $ZONE ($n)" rndc_checkds "$SERVER" "$DIR" "-" "20190102121314" "published" "$ZONE" -grep "DSPublish: 20190102121314" "${basefile}.state" || log_error "DSPublish not set in ${basefile}" +grep "DSPublish: 20190102121314" "${basefile}.state" > /dev/null || log_error "DSPublish not set in ${basefile}" test "$ret" -eq 0 || echo_i "failed" status=$((status+ret)) n=$((n+1)) echo_i "checkds withdraw correctly sets DSRemoved for zone $ZONE ($n)" rndc_checkds "$SERVER" "$DIR" "-" "20200102121314" "withdrawn" "$ZONE" -grep "DSRemoved: 20200102121314" "${basefile}.state" || log_error "DSRemoved not set in ${basefile}" +grep "DSRemoved: 20200102121314" "${basefile}.state" > /dev/null || log_error "DSRemoved not set in ${basefile}" test "$ret" -eq 0 || echo_i "failed" status=$((status+ret))