Commit 109ca471 authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

fix error in tests when /bin/sh is not bash

== is a bashism, we should use = for /bin/sh; this prevents output like:

/home/ubuntu/criu/test/post-dump.sh: 3: [: post-dump: unexpected operator
/home/ubuntu/criu/test/post-dump.sh: 3: [: network-unlock: unexpected operator
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7248cad9
#!/bin/sh
[ "$CRTOOLS_SCRIPT_ACTION" == post-dump ] || exit 0
[ "$CRTOOLS_SCRIPT_ACTION" = post-dump ] || exit 0
#
# Special code to inform zdtm that we're
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment