pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-09-24
2002-09-24 10:56:15 by Marcus Comstedt <marcus@mc.pp.se>
3d0f6b9715120ba15cbcca709f00fec0105b5a1e (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Added quoting to popen commandline on NT.
Rev: src/testsuite.in:1.540
1:
-
test_true([["$Id: testsuite.in,v 1.
539
2002/09/
21
18
:
24
:
36
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
540
2002/09/
24
10
:
56
:
15
marcus
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
9202:
test_any([[object p=Process.create_process(Process.split_quoted_string(RUNPIKE)+({"-e","exit(2)"})); sleep(10); return p->wait()]],2) test_eq([[ #ifdef __NT__
-
Process.popen(RUNPIKE+" -e write(
\
"
test\
");")
+
Process.popen(RUNPIKE+" -e
\"
write(
\\\
"
test\\\
");
\
"
"
)
#else /* !__NT__ */ Process.popen(RUNPIKE+" -e 'write(\"test\");'") #endif /* __NT__ */