summaryrefslogtreecommitdiff
path: root/test/system/450-interactive.bats
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/450-interactive.bats')
-rw-r--r--test/system/450-interactive.bats4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/system/450-interactive.bats b/test/system/450-interactive.bats
index b817fe1a7..a642a2e95 100644
--- a/test/system/450-interactive.bats
+++ b/test/system/450-interactive.bats
@@ -27,9 +27,7 @@ function setup() {
retries=5
while [[ ! -e $PODMAN_TEST_PTY ]]; do
retries=$(( retries - 1 ))
- if [[ $retries -eq 0 ]]; then
- die "Timed out waiting for $PODMAN_TEST_PTY"
- fi
+ assert $retries -gt 0 "Timed out waiting for $PODMAN_TEST_PTY"
sleep 0.5
done
}