1
0
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:
Intel A80486DX2-66 2024-07-07 01:52:15 +03:00
parent 5d98abd777
commit f9cbf96a96
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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 $?
}