Skip to content

Commit 1d48e33

Browse files
Revert a few expectations.
1 parent 979d9d8 commit 1d48e33

File tree

2 files changed

+24
-25
lines changed

2 files changed

+24
-25
lines changed

test/core/test_env.out

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,26 @@ LOGNAME=web_user
44
PATH=/
55
PWD=/
66
HOME=/home/web_user
7-
LANG=C.UTF-8
8-
_=/private/var/folders/s1/hhcrhp756rdbjbgf81qqgd2000xtkc/T/emtest_fehb5t6z/emscripten_test_core0_fbwrmr1a/test_env.js
7+
LANG=(C|en_US).UTF-8
8+
_=.*(/test_env.js|./this.program)
99

10-
getenv(PATH): /
11-
getenv(NONEXISTENT): (null)
12-
setenv/0(PATH) ret: 0
13-
getenv(PATH) after setenv/0: /
14-
setenv/1(PATH) ret: 0
15-
getenv(PATH) after setenv/1: test2
16-
setenv(SET_VALUE) ret: 0
17-
setenv(SET_VALUE2) ret: 0
18-
getenv(SET_VALUE): test3
19-
getenv(SET_VALUE2): test4
20-
putenv(PUT_VALUE) ret: 0
21-
getenv(PUT_VALUE): test5
22-
getenv(PUT_VALUE) after alteration: Qest5
23-
unsetenv(PUT_VALUE) ret: 0
24-
getenv(PUT_VALUE) after unsetenv: (null)
25-
setenv(0) ret: -1
26-
setenv('') ret: -1
27-
setenv(X=Y) ret: -1
28-
unsetenv('') ret: -1
29-
unsetenv(X=Y) ret: -1
30-
clearenv -> 0
10+
getenv\(PATH\): /
11+
getenv\(NONEXISTENT\): \(null\)
12+
setenv/0\(PATH\) ret: 0
13+
getenv\(PATH\) after setenv/0: /
14+
setenv/1\(PATH\) ret: 0
15+
getenv\(PATH\) after setenv/1: test2
16+
setenv\(SET_VALUE\) ret: 0
17+
setenv\(SET_VALUE2\) ret: 0
18+
getenv\(SET_VALUE\): test3
19+
getenv\(SET_VALUE2\): test4
20+
putenv\(PUT_VALUE\) ret: 0
21+
getenv\(PUT_VALUE\): test5
22+
getenv\(PUT_VALUE\) after alteration: Qest5
23+
unsetenv\(PUT_VALUE\) ret: 0
24+
getenv\(PUT_VALUE\) after unsetenv: \(null\)
25+
setenv\(0\) ret: -1
26+
setenv\(''\) ret: -1
27+
setenv\(X=Y\) ret: -1
28+
unsetenv\(''\) ret: -1
29+
unsetenv\(X=Y\) ret: -1

test/core/test_environ.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ LOGNAME=web_user
33
PATH=/
44
PWD=/
55
HOME=/home/web_user
6-
LANG=C.UTF-8
7-
_=/private/var/folders/s1/hhcrhp756rdbjbgf81qqgd2000xtkc/T/emtest_jd83dqen/emscripten_test_core0___w85r0n/test_environ.js
6+
LANG=(C|en_US).UTF-8
7+
_=.*(/test_environ.js|/this.program)

0 commit comments

Comments
 (0)