summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2018-02-27 19:02:03 +0100
committerDaiki Ueno <dueno@redhat.com>2018-02-28 05:56:15 +0100
commite8d569045c7d224e94836edd77856823aadf8267 (patch)
tree892282be891e014e8ba7ba105a64d9a2bf4f73d6
parentf6b7a992e442218a5afdbf8ae1697c53f3f03991 (diff)
test-server.sh: Fix bashism
-rwxr-xr-xp11-kit/test-server.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/p11-kit/test-server.sh b/p11-kit/test-server.sh
index 225127c..f80c409 100755
--- a/p11-kit/test-server.sh
+++ b/p11-kit/test-server.sh
@@ -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