fix shellcheck errors in 2018/burton2/runtest.sh
This commit is contained in:
1 parent
f16d297c69
commit
86bcf704d8
1 file changed
+4
-4
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
: ${prog:=./prog}
|
: "${prog:=./prog}"
|
||||||
: ${opt:=crs}
|
: "${opt:=crs}"
|
||||||
|
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
for name in test*c fixed_iocccsize.c ioc_without_quote; do
|
for name in test*c fixed_iocccsize.c ioc_without_quote; do
|
||||||
/bin/echo -n "$name: "; $prog -$opt < $name
|
/bin/echo -n "$name: "; "$prog" -"$opt" < "$name"
|
||||||
done
|
done
|
||||||
Reference in new issue
Block a user