mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-09-19 18:45:33 +05:30
test.sh: find
call: quote $1
This commit is contained in:
parent
f2b7b11369
commit
4860ccd61e
2
test.sh
2
test.sh
@ -24,7 +24,7 @@ corrupt() {
|
||||
}
|
||||
|
||||
iterate_on_test_files() {
|
||||
find $1 -maxdepth 1 -type f -name 'test.*' | while IFS= read -r file; do
|
||||
find "$1" -maxdepth 1 -type f -name 'test.*' | while IFS= read -r file; do
|
||||
basename="$(basename "$file")"
|
||||
corrupt "$file" "./corrupted/$basename"
|
||||
if [ "$?" -ne "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user