mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-11-08 13:42:31 +05:30
test.sh: move shell parameters to the top of file
This commit is contained in:
parent
f9cbf96a96
commit
42fa63ea90
4
test.sh
4
test.sh
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set +o histexpand # Disable parsing "!" as the history expansion character
|
||||
|
||||
mkdir_if_not_exists() {
|
||||
[ -d "$1" ] || mkdir "$1"
|
||||
}
|
||||
@ -37,8 +39,6 @@ iterate_on_test_files() {
|
||||
done
|
||||
}
|
||||
|
||||
set +o histexpand # Disable parsing "!" as the history expansion character
|
||||
|
||||
cd ./test_files || exit 1
|
||||
printf "[*] Generating corrupted versions of test files\n"
|
||||
mkdir_if_not_exists ./corrupted/
|
||||
|
Loading…
Reference in New Issue
Block a user