]> granicus.if.org Git - p11-kit/commitdiff
test-server.sh: Fix bashism
authorAndreas Metzler <ametzler@bebt.de>
Tue, 27 Feb 2018 18:02:03 +0000 (19:02 +0100)
committerDaiki Ueno <dueno@redhat.com>
Wed, 28 Feb 2018 04:56:15 +0000 (05:56 +0100)
p11-kit/test-server.sh

index 225127cff6891a8f4982056cbe0242c0ae51e212..f80c4097503272a65f803a9fc77807c3ee9453b6 100755 (executable)
@@ -24,8 +24,8 @@ fi
 
 . ./start.env
 
-test "${P11_KIT_SERVER_ADDRESS+set}" == set || exit 1
-test "${P11_KIT_SERVER_PID+set}" == set || exit 1
+test "${P11_KIT_SERVER_ADDRESS+set}" = "set" || exit 1
+test "${P11_KIT_SERVER_PID+set}" = "set" || exit 1
 
 "$abs_top_builddir"/p11-kit-server -s -k > stop.env 2> stop.err
 if test $? -ne 0; then
@@ -35,5 +35,5 @@ fi
 
 . ./stop.env
 
-test "${P11_KIT_SERVER_ADDRESS-unset}" == unset || exit 1
-test "${P11_KIT_SERVER_PID-unset}" == unset || exit 1
+test "${P11_KIT_SERVER_ADDRESS-unset}" = "unset" || exit 1
+test "${P11_KIT_SERVER_PID-unset}" = "unset" || exit 1