From 85054e48a778171490654a0c6b180420914ceada Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 11 Aug 2000 15:25:44 +0000 Subject: [PATCH] Simplify environment setting for braindead (i.e. solaris) shells. CVS patchset: 4055 CVS date: 2000/08/11 15:25:44 --- popt/testit.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/popt/testit.sh b/popt/testit.sh index a322176..d73dfb2 100755 --- a/popt/testit.sh +++ b/popt/testit.sh @@ -37,8 +37,12 @@ run test1 "test1 - 12" "arg1: 1 arg2: (none)" -O run test1 "test1 - 13" "arg1: 1 arg2: foo" -OT foo run test1 "test1 - 14" "arg1: 0 arg2: (none) inc: 1" --inc run test1 "test1 - 15" "arg1: 0 arg2: foo inc: 1" -i --arg2 foo -POSIX_ME_HARDER=1 run test1 "test1 - 16" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something -POSIXLY_CORRECT=1 run test1 "test1 - 17" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something +export POSIX_ME_HARDER=1 +run test1 "test1 - 16" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something +unset POSIX_ME_HARDER +export POSIXLY_CORRECT=1 +run test1 "test1 - 17" "arg1: 1 arg2: (none) rest: foo --arg2 something" --arg1 foo --arg2 something +unset POSIXLY_CORRECT run test1 "test1 - 18" "callback: c sampledata bar arg1: 1 arg2: (none)" --arg1 --cb bar run test1 "test1 - 19" "" --echo-args run test1 "test1 - 20" "--arg1" --echo-args --arg1 -- 2.7.4