aboutsummaryrefslogtreecommitdiff
path: root/Practical2/tester/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Practical2/tester/test.sh')
-rwxr-xr-xPractical2/tester/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Practical2/tester/test.sh b/Practical2/tester/test.sh
index 9051e97..8f42b77 100755
--- a/Practical2/tester/test.sh
+++ b/Practical2/tester/test.sh
@@ -9,7 +9,7 @@ cd "$dir"
for tc in "$samples/"*.in; do
answer=$(cat ${tc/in/out})
header=$(head -n1 "$tc" | tr -d '\n')
- echo -n "Running $(basename $tc) $(printf '%-12s' "($answer ")$(printf '%-12s' "/ $header)") ... "
+ echo -n "Running $(printf '%-15s' "$(basename $tc)") $(printf '%-10s' "($answer ")$(printf '%-10s' "/ $header)") ... "
time_start=$(($(date +%s%N)/1000000))
result=$(eval "cat '$tc' | $cmd")
time_end=$(($(date +%s%N)/1000000))