pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-03-08
2002-03-08 18:54:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>
0cfe854f4666ab51599d922d2b3c1d7f94c2aabe (
19
lines) (+
18
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test of [bug
2830 (#2830)
].
Rev: src/testsuite.in:1.489
1:
-
test_true([["$Id: testsuite.in,v 1.
488
2002/03/
02
18:
51
:
36
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
489
2002/03/
08
18:
54
:
44
grubba
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
447:
]], 1); test_any( [[
+
// bug [2830] ------------------------------------------------------------
+
// http://community/crunch/show_bug.cgi?id=2830
+
class User{};
+
+
object luser = User();
+
+
#if constant(Pike.Security)
+
object luser_creds = Pike.Security.Creds(luser, 0, 0);
+
return !catch {
+
return !!call_with_creds(luser_creds, Stdio.File, "/dev/null");
+
};
+
#endif
+
return 0;
+
]], 0 )
+
+
test_any( [[
// bug [1996] ------------------------------------------------------------ // http://community/crunch/show_bug.cgi?id=1996 class Implementation