the beginning of "checkit" rather than the end of "hands_setup" because
sometimes files are modified just before checkit is called and the copy
finishes within one second so they're considered to be the same time.
I don't think this would be a problem in real life, so just change the
test.
# echo testing head:
# ls -lR ${srcdir} | head -10 || echo failed
-
- # sleep here to prevent a copy from being made within the
- # default --modify-window time on Cygwin
- sleep 2
}
# should be excluded, you might need to use something else.
checkit() {
+ # sleep here to prevent a copy from being made within the
+ # default --modify-window time on Cygwin
+ sleep 2
+
failed=
# We can just write everything to stdout/stderr, because the