sshfs-benchmark.bash: fix locale trouble and move to tests
Locale trouble was sshfs-benchmark.bash: line 31: printf: 4.71: invalid number because printf expected "4,71" in the German locale. Force the C locale.
This commit is contained in:
parent
274e0d27b7
commit
a56e7cc5ac
@ -28,7 +28,7 @@ function prepare_mounts {
|
||||
|
||||
function etime {
|
||||
T=$(/usr/bin/time -f %e -o /dev/stdout "$@")
|
||||
printf %20.2f "$T"
|
||||
LC_ALL=C printf %20.2f "$T"
|
||||
}
|
||||
|
||||
MYNAME=$(basename "$0")
|
Loading…
Reference in New Issue
Block a user