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/104-space/all.do
Normal file
1
t/104-space/all.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo "space dir/test"
|
||||
1
t/104-space/clean.do
Normal file
1
t/104-space/clean.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo "space dir/clean"
|
||||
2
t/104-space/space dir/.gitignore
vendored
Normal file
2
t/104-space/space dir/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/space file
|
||||
/space 2
|
||||
1
t/104-space/space dir/clean.do
Normal file
1
t/104-space/space dir/clean.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
rm -f *~ .*~ "space 2"
|
||||
1
t/104-space/space dir/space 2.do
Normal file
1
t/104-space/space dir/space 2.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
echo $$
|
||||
1
t/104-space/space dir/space file.do
Normal file
1
t/104-space/space dir/space file.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo-ifchange "space 2"
|
||||
6
t/104-space/space dir/test.do
Normal file
6
t/104-space/space dir/test.do
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
redo "space file"
|
||||
F1="$(cat "space 2")"
|
||||
redo "../space dir/space file"
|
||||
F2="$(cat "space 2")"
|
||||
[ "$F1" = "$F2" ] || exit 2
|
||||
[ -n "$F1" ] || exit 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue