summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-27 13:51:04 +0100
committerSimon Josefsson <simon@josefsson.org>2008-10-27 13:51:04 +0100
commitf27ea4d35597f50a19c1a5e8c123a31ee5233d40 (patch)
treed13cfb199de9bdf9b98b5d85bd65cd299dc9a010 /tests
parenteb8ac3795cc12977019ba84f18f8b461f8b3d7c5 (diff)
downloadgnulib-f27ea4d35597f50a19c1a5e8c123a31ee5233d40.tar.gz
Set and use EXEEXT.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-argp-2.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-argp-2.sh b/tests/test-argp-2.sh
index a3c2fe55e1..39132bc4c8 100755
--- a/tests/test-argp-2.sh
+++ b/tests/test-argp-2.sh
@@ -39,7 +39,7 @@ Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE]
[--version] ARGS...
EOT
-./test-argp --usage | func_compare || ERR=1
+./test-argp$EXEEXT --usage | func_compare || ERR=1
####
# Test working usage-indent format
@@ -50,7 +50,7 @@ Usage: test-argp [-tvCSOlp?V] [-f FILE] [-o[ARG]] [--test] [--file=FILE]
[--limerick] [--poem] [--help] [--usage] [--version] ARGS...
EOT
-ARGP_HELP_FMT='usage-indent=0' ./test-argp --usage | func_compare || ERR=1
+ARGP_HELP_FMT='usage-indent=0' ./test-argp$EXEEXT --usage | func_compare || ERR=1
####
# Test --help output
@@ -93,16 +93,16 @@ for any corresponding short options.
Report bugs to <>.
EOT
-./test-argp --help | func_compare || ERR=1
+./test-argp$EXEEXT --help | func_compare || ERR=1
####
# Test ambiguous option handling
-./test-argp --optio 2>/dev/null && ERR=1
+./test-argp$EXEEXT --optio 2>/dev/null && ERR=1
####
# Run built-in tests
-./test-argp || ERR=1
+./test-argp$EXEEXT || ERR=1
rm $TMP