runtest: avoid spurious failures on NetBSD
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 5 Aug 2012 10:05:35 +0000 (12:05 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 5 Aug 2012 10:06:54 +0000 (12:06 +0200)
commitb6a330e17bf0c7aca9bc7210f500aecee25077d0
tree4f03fee7e09435e53db452fdd087829bbf1e066c
parentff23c81741c6c02b7087ab104a8c449702b193c5
runtest: avoid spurious failures on NetBSD

* runtest.in: Use ${1+"$@"} rather than simply "$@", because the 'set -u'
setting used in the script causes the latter to trigger a spurious error
with the NetBSD 5.1 /bin/sh ("./runtest: @: parameter not set") if there
are no arguments to the test.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
runtest.in