summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorewt <devnull@localhost>1999-04-07 06:22:30 +0000
committerewt <devnull@localhost>1999-04-07 06:22:30 +0000
commitffa1389df4627db2815b835b2f4391ea4850c407 (patch)
tree998656b4080e9cc9b5b2aea8db2ec39d515efc7c /popt
parent362c4cc03213c78e959a3af6cfabef6695e6a723 (diff)
downloadrpm-ffa1389df4627db2815b835b2f4391ea4850c407.tar.gz
rpm-ffa1389df4627db2815b835b2f4391ea4850c407.tar.bz2
rpm-ffa1389df4627db2815b835b2f4391ea4850c407.zip
added tests for single - argument
CVS patchset: 2965 CVS date: 1999/04/07 06:22:30
Diffstat (limited to 'popt')
-rwxr-xr-xpopt/testit.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/popt/testit.sh b/popt/testit.sh
index bdb78ab1d..f81edb26e 100755
--- a/popt/testit.sh
+++ b/popt/testit.sh
@@ -42,6 +42,8 @@ run test1 "test1 - 23" "./test1 ; --echo-args -a" --echo-args -e -a
run test1 "test1 - 24" "arg1: 0 arg2: (none) short: 1" -shortoption
run test1 "test1 - 25" "arg1: 0 arg2: (none) short: 1" --shortoption
run test1 "test1 - 26" "callback: c arg for cb2 foo arg1: 0 arg2: (none)" --cb2 foo
+run test1 "test1 - 27" "arg1: 0 arg2: (none) -" -
+run test1 "test1 - 28" "arg1: 0 arg2: foo -" - -2 foo
echo ""
echo "Passed."