Ajout du test n°18 avec des symboles spéciaux dans les chemins
This commit is contained in:
parent
2d7e994045
commit
0ad41c748f
21
tests/C/test-18-path-characters/bake/Bakefile
Normal file
21
tests/C/test-18-path-characters/bake/Bakefile
Normal file
@ -0,0 +1,21 @@
|
||||
all: ~/temp/test.txt /tmp/test.txt ./path/with/slashes/test.txt path-with-dashes.txt path_with_underscores.txt
|
||||
|
||||
~/temp/test.txt:
|
||||
mkdir -p ~/temp
|
||||
echo "Content in home directory" > ~/temp/test.txt
|
||||
|
||||
/tmp/test.txt:
|
||||
echo "Content in tmp directory" > /tmp/test.txt
|
||||
|
||||
./path/with/slashes/test.txt:
|
||||
mkdir -p ./path/with/slashes
|
||||
echo "Content in path with slashes" > ./path/with/slashes/test.txt
|
||||
|
||||
path-with-dashes.txt:
|
||||
echo "Content in file with dashes" > path-with-dashes.txt
|
||||
|
||||
path_with_underscores.txt:
|
||||
echo "Content in file with underscores" > path_with_underscores.txt
|
||||
|
||||
clean:
|
||||
rm -rf ~/temp/test.txt /tmp/test.txt ./path/with/slashes path-with-dashes.txt path_with_underscores.txt
|
21
tests/C/test-18-path-characters/make/Makefile
Normal file
21
tests/C/test-18-path-characters/make/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
all: ~/temp/test.txt /tmp/test.txt ./path/with/slashes/test.txt path-with-dashes.txt path_with_underscores.txt
|
||||
|
||||
~/temp/test.txt:
|
||||
mkdir -p ~/temp
|
||||
echo "Content in home directory" > ~/temp/test.txt
|
||||
|
||||
/tmp/test.txt:
|
||||
echo "Content in tmp directory" > /tmp/test.txt
|
||||
|
||||
./path/with/slashes/test.txt:
|
||||
mkdir -p ./path/with/slashes
|
||||
echo "Content in path with slashes" > ./path/with/slashes/test.txt
|
||||
|
||||
path-with-dashes.txt:
|
||||
echo "Content in file with dashes" > path-with-dashes.txt
|
||||
|
||||
path_with_underscores.txt:
|
||||
echo "Content in file with underscores" > path_with_underscores.txt
|
||||
|
||||
clean:
|
||||
rm -rf ~/temp/test.txt /tmp/test.txt ./path/with/slashes path-with-dashes.txt path_with_underscores.txt
|
Loading…
x
Reference in New Issue
Block a user