chiark
/
gitweb
/
~richardk
/
blockad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9d32162
)
Add sleeps to t-watch script to improve chances of things happening in
author
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 4 Mar 2011 19:29:33 +0000 (19:29 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Fri, 4 Mar 2011 19:29:33 +0000 (19:29 +0000)
the right order.
tests/t-watch
patch
|
blob
|
history
diff --git
a/tests/t-watch
b/tests/t-watch
index
caa271d
..
922a0ad
100755
(executable)
--- a/
tests/t-watch
+++ b/
tests/t-watch
@@
-27,16
+27,23
@@
sleep 1 # allow watchfile to start up
echo one > WatchMe
echo two >> WatchMe
+sleep 1
mv WatchMe DontWatchMe
+sleep 1
+
echo three >> DontWatchMe
echo four > WatchMe
echo five >> WatchMe
+sleep 1
+
mv DontWatchMe WatchMe
+sleep 1
exec 3>>WatchMe
rm -f WatchMe
+sleep 1
echo six >&3