]> Cypherpunks.ru repositories - goredo.git/blobdiff - t/apenwarr/010-jobserver/second.do
Import tests from apenwarr/redo and redo.sh
[goredo.git] / t / apenwarr / 010-jobserver / second.do
diff --git a/t/apenwarr/010-jobserver/second.do b/t/apenwarr/010-jobserver/second.do
new file mode 100644 (file)
index 0000000..de732b4
--- /dev/null
@@ -0,0 +1,8 @@
+rm -f $1.start $1.end
+echo 'second start' >&2
+: >$1.start
+redo 2.x
+echo 'second sleep' >&2
+redo-ifchange first  # wait until 'first' finishes, if it's running
+echo 'second end' >&2
+: >$1.end