Add a new test for filenames with spaces.
This commit is contained in:
parent
e8584c8d76
commit
4d47b5ec7f
7 changed files with 17 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
redo example/clean curse/clean deps/clean
|
||||
redo example/clean curse/clean deps/clean "space dir/clean"
|
||||
rm -f c c.c c.c.c c.c.c.b c.c.c.b.b d
|
||||
rm -f hello [by]ellow *.o *~ .*~ CC LD
|
||||
rm -f hello [by]ellow *.o *~ .*~ CC LD passfail
|
||||
|
||||
|
|
|
|||
2
t/space dir/.gitignore
vendored
Normal file
2
t/space dir/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/space file
|
||||
/space 2
|
||||
1
t/space dir/clean.do
Normal file
1
t/space dir/clean.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
rm -f *~ .*~ "space 2"
|
||||
1
t/space dir/space 2.do
Normal file
1
t/space dir/space 2.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
echo $$
|
||||
1
t/space dir/space file.do
Normal file
1
t/space dir/space file.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
redo-ifchange "space 2"
|
||||
6
t/space dir/test.do
Normal file
6
t/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
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
redo-ifchange all
|
||||
./hello >&2
|
||||
redo deltest deltest2 test.args test2.args passfailtest curse/test deps/test
|
||||
redo deltest deltest2 test.args test2.args passfailtest \
|
||||
curse/test deps/test "space dir/test"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue