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
16
t/250-makedir/dirtest/all.do
Normal file
16
t/250-makedir/dirtest/all.do
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
rm -f log dir1/log dir1/stinky
|
||||
touch t1.do
|
||||
../../flush-cache
|
||||
redo t1
|
||||
touch t1.do
|
||||
../../flush-cache
|
||||
redo t1
|
||||
../../flush-cache
|
||||
redo-ifchange t1
|
||||
C1="$(wc -l <dir1/log)"
|
||||
C2="$(wc -l <log)"
|
||||
. ../../skip-if-minimal-do.sh
|
||||
if [ "$C1" -ne 1 -o "$C2" -ne 2 ]; then
|
||||
echo "failed: t1>t1, c1=$C1, c2=$C2" >&2
|
||||
exit 55
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue