t/*: rearrange tests into numbered directories.

It was getting way too ad-hoc in there.  Let's reorganize the tests so that
there's a good, obvious, suggested sequence to run them in.
This commit is contained in:
Avery Pennarun 2012-02-08 00:33:00 -05:00
commit 7822f5a5bb
170 changed files with 100 additions and 80 deletions

1
t/101-atime/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
atime2

1
t/101-atime/all.do Normal file
View file

@ -0,0 +1 @@
redo atime

1
t/101-atime/atime.do Normal file
View file

@ -0,0 +1 @@
redo atime2

6
t/101-atime/atime2.do Normal file
View file

@ -0,0 +1,6 @@
# make sure redo doesn't think merely *reading* the old file counts as
# modifying it in-place.
cat $1 >/dev/null 2>/dev/null || true
./tick
cat $1 >/dev/null 2>/dev/null || true
echo hello

1
t/101-atime/clean.do Normal file
View file

@ -0,0 +1 @@
rm -f atime2 *~ .*~

6
t/101-atime/tick Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python
import time
t1 = int(time.time())
while int(time.time()) == t1:
pass