aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures.sh')
-rwxr-xr-xtests/fixtures.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fixtures.sh b/tests/fixtures.sh
index 4e794db..ccd55a0 100755
--- a/tests/fixtures.sh
+++ b/tests/fixtures.sh
@@ -337,6 +337,14 @@ echo piped
SH
chmod +x /fixtures/pipe
+# pipe-slow: a command that takes longer than the tests wait for it.
+cat > /fixtures/pipe-slow <<'SH'
+#! /bin/sh
+sleep 60
+echo piped
+SH
+chmod +x /fixtures/pipe-slow
+
# patches: hello and hello2 change dep's greeting, hello2 only after hello;
# sub changes the flake in mono's subdirectory; bad applies to nothing.
mkdir -p /fixtures/patches