Branch: Tag:

2003-02-13

2003-02-13 16:43:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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"}))      // -------------------------------------------------------------