pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-04
1999-11-04 20:25:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2b2459419d3ad87176dd0c387a2e8a4f9112f5a7 (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix for \0 in %{ %} (sscanf)
Rev: src/opcodes.c:1.65
Rev: src/testsuite.in:1.223
1:
-
test_true([["$Id: testsuite.in,v 1.
222
1999/11/04 20:
04
:
07
hubbe Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
223
1999/11/04 20:
25
:
20
hubbe Exp $"]])
cond([[all_constants()->_verify_internals]], [[
1775:
test_equal([[array_sscanf("\2000\1000\1111\1001\1110foo","%s%[\1000-\1111]%s")]], [[ ({ "\2000", "\1000\1111\1001\1110", "foo"}) ]])
+
test_equal([[ array_sscanf("02 00 DC 00 0B","%{%x%*[\0-/:-@]%}")[0] ]],
+
[[ ({ ({2}), ({0}), ({220}),({0}), ({11}) }) ]])
-
+
// Basics test_true(1) test_true("")