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

2
t/350-deps/basic/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.log
*.out

1
t/350-deps/basic/1.in Normal file
View file

@ -0,0 +1 @@
this is 1

1
t/350-deps/basic/2.in Normal file
View file

@ -0,0 +1 @@
this is 2

View file

@ -0,0 +1,2 @@
rm -f *~ .*~ *.log *.out

View file

@ -0,0 +1,3 @@
redo-ifchange $2.in
echo $$
echo $$ >>$2.log

13
t/350-deps/basic/test.do Normal file
View file

@ -0,0 +1,13 @@
rm -f *.out *.log
../../flush-cache
redo-ifchange 1.out 2.out
[ "$(cat 1.log | wc -l)" -eq 1 ] || exit 55
[ "$(cat 2.log | wc -l)" -eq 1 ] || exit 56
../../flush-cache
touch 1.in
redo-ifchange 1.out 2.out
[ "$(cat 2.log | wc -l)" -eq 1 ] || exit 58
. ../../skip-if-minimal-do.sh
[ "$(cat 1.log | wc -l)" -eq 2 ] || exit 57