pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-02-13
2003-02-13 16:43:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>
af8e403ae00e8bc472d8d66d9895937b32772bd3 (
49
lines) (+
25
/-
24
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed typo.
Rev: src/testsuite.in:1.602
1:
-
test_true([["$Id: testsuite.in,v 1.
601
2003/02/13 16:
33
:
25
mirar
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
602
2003/02/13 16:
43
:
39
grubba
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
5419:
// sscanf %O -------------------------------------------------------------
-
define(test_
procent
_o_raw, [[
+
define(test_
percent
_o_raw, [[
test_equal(array_sscanf(]]$3[[,]]$1[[),[[$2]]) ]])
-
define(test_
procent
_o_fmt, [[
-
test_
procent
_o_raw(]]$1[[,]]$2[[,sprintf(]]$1[[,@]]$2[[))
+
define(test_
percent
_o_fmt, [[
+
test_
percent
_o_raw(]]$1[[,]]$2[[,sprintf(]]$1[[,@]]$2[[))
]])
-
define(test_
procent
_o_char, [[
+
define(test_
percent
_o_char, [[
dnl patsubst doesn't exist on all m4's (it's a gnuism?) ifdef(patsubst,[[
-
test_
procent
_o_raw("%O",({']]$1[['}),"']]patsubst($1,\\,\\\\)[['"))
-
test_
procent
_o_raw("%O%s",({']]$1[[',"abc"}),"']]patsubst($1,\\,\\\\)[['abc"))
+
test_
percent
_o_raw("%O",({']]$1[['}),"']]patsubst($1,\\,\\\\)[['"))
+
test_
percent
_o_raw("%O%s",({']]$1[[',"abc"}),"']]patsubst($1,\\,\\\\)[['abc"))
]])]]) ifdef(patsubst,[[
-
define(test_
procent
_o_string, [[
-
test_
procent
_o_raw("%O",({"]]$1[["}),"\"]]patsubst($1,\\,\\\\)[[\""))
-
test_
procent
_o_raw("%O%s",({"]]$1[[","abc"}),"\"]]patsubst($1,\\,\\\\)[[\"abc"))
+
define(test_
percent
_o_string, [[
+
test_
percent
_o_raw("%O",({"]]$1[["}),"\"]]patsubst($1,\\,\\\\)[[\""))
+
test_
percent
_o_raw("%O%s",({"]]$1[[","abc"}),"\"]]patsubst($1,\\,\\\\)[[\"abc"))
]])]])
-
test_
procent
_o_fmt("%O",({10}))
-
test_
procent
_o_fmt("%O%s",({10,"abc"}))
+
test_
percent
_o_fmt("%O",({10}))
+
test_
percent
_o_fmt("%O%s",({10,"abc"}))
-
test_
procent
_o_char([[a]])
-
test_
procent
_o_char([[\a]])
-
test_
procent
_o_char([[\123]])
-
test_
procent
_o_char([[\x4711]])
-
test_
procent
_o_char([[\d4711]])
+
test_
percent
_o_char([[a]])
+
test_
percent
_o_char([[\a]])
+
test_
percent
_o_char([[\123]])
+
test_
percent
_o_char([[\x4711]])
+
test_
percent
_o_char([[\d4711]])
-
test_
procent
_o_string([[a]])
-
test_
procent
_o_string([[\a]])
-
test_
procent
_o_string([[\123]])
-
test_
procent
_o_string([[\x4711]])
-
test_
procent
_o_string([[\d4711]])
+
test_
percent
_o_string([[a]])
+
test_
percent
_o_string([[\a]])
+
test_
percent
_o_string([[\123]])
+
test_
percent
_o_string([[\x4711]])
+
test_
percent
_o_string([[\d4711]])
-
test_
procent
_o_fmt("%O %O %O",({10,20,30}))
-
test_
procent
_o_fmt("%O %O %s",({10,20,"30"}))
+
test_
percent
_o_fmt("%O %O %O",({10,20,30}))
+
test_
percent
_o_fmt("%O %O %s",({10,20,"30"}))
// -------------------------------------------------------------