mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 11:49:39 -04:00
added test 73 based on bug reported by user
This commit is contained in:
parent
6db71e94af
commit
a7b1e0ce2b
@ -2,7 +2,7 @@ AC_INIT(Makefile.am)
|
||||
#AC_PREREQ(2.50)
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
AM_CONFIG_HEADER(config/config.h)
|
||||
AM_INIT_AUTOMAKE(tclap,1.1.0)
|
||||
AM_INIT_AUTOMAKE(tclap,1.2.0)
|
||||
AC_PROG_CXX
|
||||
AC_CXX_HAVE_SSTREAM
|
||||
AC_CXX_HAVE_STRSTREAM
|
||||
|
@ -70,8 +70,9 @@ TESTS = test1.sh \
|
||||
test68.sh \
|
||||
test69.sh \
|
||||
test70.sh \
|
||||
test71.sh \
|
||||
test72.sh \
|
||||
test71.sh
|
||||
test73.sh
|
||||
|
||||
EXTRA_DIST = $(TESTS) \
|
||||
test1.out \
|
||||
@ -145,6 +146,7 @@ EXTRA_DIST = $(TESTS) \
|
||||
test69.out \
|
||||
test70.out \
|
||||
test71.out \
|
||||
test72.out
|
||||
test72.out \
|
||||
test73.out
|
||||
|
||||
CLEANFILES = tmp.out
|
||||
|
7
tests/test73.out
Normal file
7
tests/test73.out
Normal file
@ -0,0 +1,7 @@
|
||||
for float we got : 3.7
|
||||
for int we got : 1
|
||||
for string we got : asdf
|
||||
for ulabeled we got : fff*fff
|
||||
for bool A we got : 0
|
||||
for bool B we got : 0
|
||||
for bool C we got : 0
|
11
tests/test73.sh
Executable file
11
tests/test73.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success tests whether * in UnlabeledValueArg passes
|
||||
../examples/test2 -i 1 -s asdf fff*fff > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out $srcdir/test73.out; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user