Date: Sat, 14 Mar 2015 21:07:38 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r280003 - stable/9/tools/regression/usr.bin/env Message-ID: <201503142107.t2EL7cqD088280@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Sat Mar 14 21:07:37 2015 New Revision: 280003 URL: https://svnweb.freebsd.org/changeset/base/280003 Log: MFC r279722: env: Fix testsuite for additional variables set by sh. Modified: stable/9/tools/regression/usr.bin/env/regress-env.rgdata Directory Properties: stable/9/tools/regression/usr.bin/env/ (props changed) Modified: stable/9/tools/regression/usr.bin/env/regress-env.rgdata ============================================================================== --- stable/9/tools/regression/usr.bin/env/regress-env.rgdata Sat Mar 14 20:40:04 2015 (r280002) +++ stable/9/tools/regression/usr.bin/env/regress-env.rgdata Sat Mar 14 21:07:37 2015 (r280003) @@ -235,9 +235,9 @@ gblenv=OUTSIDEVAR=OutsideValue script:/bin/echo "=== set ===" script:# drop some environment variables that 'sh' itself sets, and script:# then have 'set' print out all remaining environment variables. - script:# (can't unset OPTIND, so we use grep to get rid of that) - script:unset -v IFS PS1 PS2 PPID - script:set | grep -v '^OPTIND=' | sort + script:# (can't unset OPTIND/PWD, so we use grep to get rid of those) + script:unset -v IFS PS1 PS2 PS4 PPID + script:set | grep -Ev '^(OPTIND|PWD)=' | sort stdout:=== set === stdout:PATH=/bin:/usr/bin:/Not stdout:TESTVAR=SbValue
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503142107.t2EL7cqD088280>