summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-04-23 11:36:37 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2021-04-23 12:25:40 +0200
commit949f3821268943149ddc26d4eaee3bfbaa1255a9 (patch)
treeacf304b62410f00950f745ebf40fecc3d8c4f494 /test
parent0ed07360cd7e229cb458580de1f349d5d9f3568b (diff)
test: Set -e in our test hook
Gbp-Dch: ignore
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-cli-json-hooks1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-json-hooks b/test/integration/test-apt-cli-json-hooks
index 80922e01b..298fae072 100755
--- a/test/integration/test-apt-cli-json-hooks
+++ b/test/integration/test-apt-cli-json-hooks
@@ -21,6 +21,7 @@ APTARCHIVE="$(readlink -f ./aptarchive)"
cat >> json-hook.sh << EOF
#!/bin/bash
+set -e
while true; do
read request <&\$APT_HOOK_SOCKET
read empty <&\$APT_HOOK_SOCKET