components/popt/patches/popt-02-testit.sh.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 24 Mar 2016 11:33:13 -0700
changeset 5655 97634d27e441
parent 5588 33ed1c330eea
permissions -rw-r--r--
Close of build 96.

Running "gmake test" was failing for tests 58 and 59 because the wrong
test name was specified.

This patch should be sent upstream.

--- popt-1.16/testit.sh.orig	2016-03-08 07:21:32.625991783 -0800
+++ popt-1.16/testit.sh	2016-03-08 07:22:06.498564459 -0800
@@ -115,7 +115,7 @@
 run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: foo,baz" --bits foo,bar,baz,!bar
 
 run test1 "test1 - 58" "\
-Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
+Usage: test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
         [-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
         [-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG]
         [-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE]
@@ -124,7 +124,7 @@
         [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc]
         [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
 run test1 "test1 - 59" "\
-Usage: lt-test1 [OPTION...]
+Usage: test1 [OPTION...]
       --arg1                      First argument with a really long
                                   description. After all, we have to test
                                   argument help wrapping somehow, right?