Skip to content

Commit

Permalink
better quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Dec 2, 2013
1 parent 35ee1f7 commit 6c9129b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

do_test() {
echo "# $1" >>"$2".tests
$3 >/dev/null 2>>"$2".tests
$3 "$1" >/dev/null 2>>"$2".tests
echo "- $? $1" >>"$2".tests
}

Expand All @@ -24,13 +24,13 @@ case "$1" in
"all")
for i in *.xls; do
echo $i >&2
do_test "$i" core "xls2csv --dev $i"
do_test "$i" xlrd "python tests/xlrd.py $i"
do_test "$i" core "xls2csv --dev"
do_test "$i" xlrd "python tests/xlrd.py"
done
for i in *.xlsx; do
echo $i >&2
do_test "$i" core "xlsx2csv --dev $i"
do_test "$i" xlrd "python tests/xlrd.py $i"
do_test "$i" core "xlsx2csv --dev"
do_test "$i" xlrd "python tests/xlrd.py"
done
grep -- "^- [^0]" *.tests
;;
Expand Down

0 comments on commit 6c9129b

Please sign in to comment.