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:
parent
116c279e96
commit
7822f5a5bb
170 changed files with 100 additions and 80 deletions
1
t/101-atime/.gitignore
vendored
Normal file
1
t/101-atime/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
atime2
|
||||
1
t/101-atime/all.do
Normal file
1
t/101-atime/all.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo atime
|
||||
1
t/101-atime/atime.do
Normal file
1
t/101-atime/atime.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo atime2
|
||||
6
t/101-atime/atime2.do
Normal file
6
t/101-atime/atime2.do
Normal 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
1
t/101-atime/clean.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
rm -f atime2 *~ .*~
|
||||
6
t/101-atime/tick
Executable file
6
t/101-atime/tick
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
import time
|
||||
|
||||
t1 = int(time.time())
|
||||
while int(time.time()) == t1:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue