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

6
t/120-defaults-flat/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
c
c.c
c.c.c
c.c.c.b
c.c.c.b.b
d

View file

@ -0,0 +1 @@
redo-ifchange c d

View file

@ -0,0 +1 @@
chicken

3
t/120-defaults-flat/c.do Normal file
View file

@ -0,0 +1,3 @@
redo-ifchange $1.c
echo c.do
cat $1.c

View file

@ -0,0 +1,2 @@
rm -f c c.c c.c.c c.c.c.b c.c.c.b.b d \
*~ .*~

View file

@ -0,0 +1,10 @@
if [ -e "$1.a" -o -e "default${1#$2}.a" ]; then
redo-ifchange "$1.a"
echo a-to-b
cat "$1.a"
else
redo-ifchange "$1.b"
echo b-to-b
cat "$1.b"
fi
../sleep 1.1

View file

@ -0,0 +1,4 @@
redo-ifchange $1.b
echo b-to-cc
cat $1.b
../sleep 1.2

View file

@ -0,0 +1,4 @@
redo-ifchange $1.c
echo c-to-c
cat $1.c
../sleep 1.3

View file

@ -0,0 +1,4 @@
redo-ifchange c
echo default-rule
cat c
../sleep 1.4