]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Avoid a non-standard bashism: use of "==" in "test".
authorHavard Eidnes <he@uninett.no>
Fri, 2 Oct 2020 12:54:57 +0000 (14:54 +0200)
committerMichal Nowak <mnowak@isc.org>
Tue, 10 Nov 2020 13:13:57 +0000 (14:13 +0100)
(cherry picked from commit 1f83daa4ac228f484f7d429575b88a78a7d87f28)

bin/tests/system/metadata/tests.sh

index 298e9b39fcc6b26ef253b06f20a6073dc3578a23..8972b06cfe8b8704ef25be6bad18501f70f6a45d 100644 (file)
@@ -137,7 +137,7 @@ status=`expr $status + $ret`
 
 echo_i "checking warning about permissions change on key with dnssec-settime ($n)"
 uname=`uname -o 2> /dev/null`
-if [ Cygwin == "$uname"  ]; then
+if [ Cygwin = "$uname"  ]; then
        echo_i "Cygwin detected, skipping"
 else
        ret=0