test: set -ex separately

We call the entrypoint.sh script using `bash entrypoint.sh`, so -ex from
the shebang won't be used in that case. Whoopsie.
This commit is contained in:
Frantisek Sumsal 2024-01-26 15:29:49 +01:00
parent 20eeec72ed
commit 7b1c292953

View file

@ -411,7 +411,8 @@ Port=tcp:60
Port=udp:60:61
EOF
cat >"$root/entrypoint.sh" <<\EOF
#!/bin/bash -ex
#!/bin/bash
set -ex
[[ "$1" == "foo bar" ]]
[[ "$2" == "bar baz" ]]