#!@AM_TEST_RUNNER_SHELL@
#
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case $tst in
*.sh)
- exec $AM_TEST_RUNNER_SHELL $shell_opts "$tst" "$@" ;;
+ exec $AM_TEST_RUNNER_SHELL $shell_opts "$tst" ${1+"$@"} ;;
*.tap)
exec "$AM_PROVE_CMD" $AM_PROVEFLAGS -e \
- "$AM_TEST_RUNNER_SHELL $shell_opts" "$tst" "$@" ;;
+ "$AM_TEST_RUNNER_SHELL $shell_opts" "$tst" ${1+"$@"} ;;
*)
error "test '$tst' has an unrecognized extension" ;;
esac