Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103494957
D35876.id109598.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
954 B
Referenced Files
None
Subscribers
None
D35876.id109598.diff
View Options
diff --git a/bin/sh/tests/builtins/cd10.0 b/bin/sh/tests/builtins/cd10.0
--- a/bin/sh/tests/builtins/cd10.0
+++ b/bin/sh/tests/builtins/cd10.0
@@ -3,4 +3,4 @@
# Precondition
(cd /bin) || exit
# Verify write error is ignored.
-$SH +m -ic 'CDPATH=/:; cd bin 1</dev/null'
+ENV= $SH +m -ic 'CDPATH=/:; cd bin 1</dev/null'
diff --git a/bin/sh/tests/builtins/fc1.0 b/bin/sh/tests/builtins/fc1.0
--- a/bin/sh/tests/builtins/fc1.0
+++ b/bin/sh/tests/builtins/fc1.0
@@ -8,7 +8,7 @@
cd $T
mkfifo input output error
-HISTFILE=/dev/null ${SH} +m -i <input >output 2>error &
+ENV= HISTFILE=/dev/null ${SH} +m -i <input >output 2>error &
{
# Syntax error
echo ')' >&3
diff --git a/bin/sh/tests/execution/int-cmd1.0 b/bin/sh/tests/execution/int-cmd1.0
--- a/bin/sh/tests/execution/int-cmd1.0
+++ b/bin/sh/tests/execution/int-cmd1.0
@@ -1,3 +1,3 @@
# $FreeBSD$
-! echo echo bad | $SH -ic 'fi' 2>/dev/null
+! echo echo bad | ENV= $SH -ic 'fi' 2>/dev/null
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 6:01 PM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14867289
Default Alt Text
D35876.id109598.diff (954 B)
Attached To
Mode
D35876: sh: nullify ENV in tests
Attached
Detach File
Event Timeline
Log In to Comment