]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to silence test for ede error output to the console from the
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 May 2022 07:08:29 +0000 (09:08 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 20 May 2022 07:08:29 +0000 (09:08 +0200)
  test setup script.

doc/Changelog
testdata/ede.tdir/bogus/make-broken-zone.sh

index fa6457c1c4f520f7c4ef7964c00a113d47924bf5..97ab9d7641dbd7e2747edba102190a32204eabe4 100644 (file)
@@ -1,3 +1,7 @@
+20 May 2022: Wouter
+       - Fix to silence test for ede error output to the console from the
+         test setup script.
+
 18 May 2022: George
        - Fix typos in config_set_option for the 'num-threads' and
          'ede-serve-expired' options.
index 3ef42b409e0715107e109dc24e69c95dc79e6c41..67b4fcfb2d84d797f51d32664a13f1b381a471ec 100755 (executable)
@@ -9,7 +9,7 @@ echo ". IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237
 
 # differentiate for MacOS with "gdate"
 DATE=date
-which gdate > /dev/null && DATE=gdate
+which gdate > /dev/null 2>&1 && DATE=gdate
 
 ONEMONTHAGO=`$DATE -d 'now - 1 month' +%Y%m%d`
 YESTERDAY=`$DATE -d 'now - 2 days' +%Y%m%d`