aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-02-19 17:56:59 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-02-24 10:19:04 +0100
commit2dca5d4a08f456320b525c56c211f2e084d766d5 (patch)
tree5596e14dd17c8c5ece2668be97eaa2b9adb7d12f
parentb8ab21653014f716750fa962d826da9826830566 (diff)
downloadsparse-dev-2dca5d4a08f456320b525c56c211f2e084d766d5.tar.gz
testsuite: fix typo with 'test-suite format -a'
"append" was used instead of "$append" when formatting a new test, with the result that the infos for the test system were always appended to the test fiel, which is maybe often but not always desirable. So, add the missing '$' when using the variable. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rwxr-xr-xvalidation/test-suite2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/test-suite b/validation/test-suite
index 3abf69d4..e1552ed4 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -474,7 +474,7 @@ do_format()
cmd=`eval echo $default_path/$fcmd`
$cmd 1> $file.output.got 2> $file.error.got
fexit_value=$?
- [ "append" != 0 ] && exec >> $file
+ [ $append != 0 ] && exec >> $file
cat <<_EOF
/*