From b7a822f06696cb0a8bb6f37a7fdb083309d95f0a Mon Sep 17 00:00:00 2001 From: Mu Qiao Date: Mon, 6 Jun 2011 18:06:29 +0800 Subject: Walker: support array offset expansion * is removed from var_name as most expansions don't support it. Parser grammar is adjusted to generate better AST. --- test/script_compiler.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/script_compiler.sh b/test/script_compiler.sh index 021855e..6ff5672 100755 --- a/test/script_compiler.sh +++ b/test/script_compiler.sh @@ -1,11 +1,14 @@ #!/bin/sh declare -i error=0 +result=$(mktemp) for script in $@ do - ./variable_printer $script 2>&1 | diff -u $script.result - + sed "s/@srcdir@/$srcdir/" $script.result > $result + ./variable_printer $script 2>&1 | diff -u $result - error+=$? done +rm -rf $result exit $error -- cgit v1.2.3-65-gdbad