mirror of
https://git.disroot.org/80486DX2-66/polonium.git
synced 2024-12-27 07:30:23 +05:30
test.sh: only show basename of tested file
This commit is contained in:
parent
5d98abd777
commit
f9cbf96a96
7
test.sh
7
test.sh
@ -13,12 +13,11 @@ corrupt() {
|
||||
|
||||
file_name="$(pwd)/$2"
|
||||
|
||||
args=("$file_name" "-p" "60" "-t" "2" "-n" "2" "--noconfirm" \
|
||||
"-s" "999999999")
|
||||
args=("-p" "60" "-t" "2" "-n" "2" "--noconfirm" "-s" "999999999")
|
||||
|
||||
printf -- "--- [*] $exec_name ${args[*]}\n"
|
||||
printf -- "--- [*] $exec_name $(basename "$2") ${args[*]}\n"
|
||||
|
||||
"$exec_file" "${args[@]}" > "$exec_log" 2>&1
|
||||
"$exec_file" "$file_name" "${args[@]}" > "$exec_log" 2>&1
|
||||
return $?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user