diff --git a/tests/abuild-fetch.bats b/tests/abuild-fetch.bats index f3594ce..7f94607 100644 --- a/tests/abuild-fetch.bats +++ b/tests/abuild-fetch.bats @@ -120,7 +120,10 @@ teardown() { sleep 0.2 # the first stamp should not exist, second instance should block the retry - [ ! -f "$tmpdir"/stamp1 ] + # skip this test on s390x, due to sleep(0) not working there + if [ "$(uname -m)" != "s390x" ]; then + [ ! -f "$tmpdir"/stamp1 ] + fi # simulate second download finished echo "done fifo2" > "$tmpdir"/fifo2