mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
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:
parent
20eeec72ed
commit
7b1c292953
@ -411,7 +411,8 @@ Port=tcp:60
|
|||||||
Port=udp:60:61
|
Port=udp:60:61
|
||||||
EOF
|
EOF
|
||||||
cat >"$root/entrypoint.sh" <<\EOF
|
cat >"$root/entrypoint.sh" <<\EOF
|
||||||
#!/bin/bash -ex
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
[[ "$1" == "foo bar" ]]
|
[[ "$1" == "foo bar" ]]
|
||||||
[[ "$2" == "bar baz" ]]
|
[[ "$2" == "bar baz" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user