diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE.erl b/lib/xmerl/test/xmerl_sax_std_SUITE.erl index 54fee16317f2..efc68c113d72 100644 --- a/lib/xmerl/test/xmerl_sax_std_SUITE.erl +++ b/lib/xmerl/test/xmerl_sax_std_SUITE.erl @@ -43,13 +43,11 @@ init_per_suite(Config) -> file:set_cwd(datadir(Config)), - ok=erl_tar:extract("ibm.tgz",[compressed]), - ok=erl_tar:extract("japanese.tgz",[compressed]), - ok=erl_tar:extract("oasis.tgz",[compressed]), - ok=erl_tar:extract("sun.tgz",[compressed]), - ok=erl_tar:extract("xmltest.tgz",[compressed]), - ok = change_mode(["ibm","japanese","oasis", - "sun","xmltest"]), + ok = erl_tar:extract("xmlts20130923.tar.gz", [compressed]), + Dirs = ["ibm","japanese","oasis","sun","xmltest"], + [file:rename("xmlconf/" ++ Dir, Dir) || Dir <- Dirs], + [ok = erl_tar:extract(Dir ++ ".tgz", [compressed]) || Dir <- Dirs], + ok = change_mode(Dirs), [{timetrap,{seconds, 1}}|Config]. end_per_suite(Config) -> diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/ibm.tgz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/ibm.tgz index 687b832d635d..9ac0880f76a5 100644 Binary files a/lib/xmerl/test/xmerl_sax_std_SUITE_data/ibm.tgz and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/ibm.tgz differ diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/japanese.tgz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/japanese.tgz index aac5f86cc5bb..cf54a18d9346 100644 Binary files a/lib/xmerl/test/xmerl_sax_std_SUITE_data/japanese.tgz and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/japanese.tgz differ diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/oasis.tgz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/oasis.tgz index 424125662773..06e034b46d0b 100644 Binary files a/lib/xmerl/test/xmerl_sax_std_SUITE_data/oasis.tgz and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/oasis.tgz differ diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/sun.tgz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/sun.tgz index 7c4ca9088f7a..337432d70bf2 100644 Binary files a/lib/xmerl/test/xmerl_sax_std_SUITE_data/sun.tgz and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/sun.tgz differ diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmltest.tgz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmltest.tgz index 628a518b0fa9..6c37ed4be1da 100644 Binary files a/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmltest.tgz and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmltest.tgz differ diff --git a/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmlts20130923.tar.gz b/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmlts20130923.tar.gz new file mode 100644 index 000000000000..f3445fdeb636 Binary files /dev/null and b/lib/xmerl/test/xmerl_sax_std_SUITE_data/xmlts20130923.tar.gz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE.erl b/lib/xmerl/test/xmerl_std_SUITE.erl index 5badfc708c74..dd90663cc648 100644 --- a/lib/xmerl/test/xmerl_std_SUITE.erl +++ b/lib/xmerl/test/xmerl_std_SUITE.erl @@ -753,19 +753,17 @@ suite() -> init_per_suite(Config) -> file:set_cwd(datadir(Config)), - ok = erl_tar:extract("ibm.tgz",[compressed]), - ok = erl_tar:extract("japanese.tgz",[compressed]), - ok = erl_tar:extract("oasis.tgz",[compressed]), - ok = erl_tar:extract("sun.tgz",[compressed]), - ok = erl_tar:extract("xmltest.tgz",[compressed]), - ok = change_mode(["ibm","japanese","oasis", - "sun","xmltest"]), + ok = erl_tar:extract("xmlts20130923.tar.gz", [compressed]), + Dirs = ["ibm","japanese","oasis","sun","xmltest"], + [file:rename("xmlconf/" ++ Dir, Dir) || Dir <- Dirs], + [ok = erl_tar:extract(Dir ++ ".tgz", [compressed]) || Dir <- Dirs], + ok = change_mode(Dirs), Config. -ifndef(dont_rm_test_dirs). end_per_suite(Config) -> file:set_cwd(datadir(Config)), - ok = rm_files(["ibm","japanese","oasis","sun","xmltest"]), + ok = rm_files(["ibm","japanese","oasis","sun","xmltest", "xmlconf"]), ok. -else. @@ -9953,7 +9951,9 @@ datadir(Config) -> proplists:get_value(data_dir, Config). datadir_join(Config,Files) -> - filename:join([datadir(Config)|Files]). + File = filename:join([datadir(Config)|Files]), + ct:log("File: ~ts~n",[File]), + File. %%add_xml_path(TestCase) -> diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/ibm.tgz b/lib/xmerl/test/xmerl_std_SUITE_data/ibm.tgz index c36bcb5bd374..9ac0880f76a5 100644 Binary files a/lib/xmerl/test/xmerl_std_SUITE_data/ibm.tgz and b/lib/xmerl/test/xmerl_std_SUITE_data/ibm.tgz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/japanese.tgz b/lib/xmerl/test/xmerl_std_SUITE_data/japanese.tgz index cf1d71a2fd8c..cf54a18d9346 100644 Binary files a/lib/xmerl/test/xmerl_std_SUITE_data/japanese.tgz and b/lib/xmerl/test/xmerl_std_SUITE_data/japanese.tgz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/oasis.tgz b/lib/xmerl/test/xmerl_std_SUITE_data/oasis.tgz index ab809a63e751..06e034b46d0b 100644 Binary files a/lib/xmerl/test/xmerl_std_SUITE_data/oasis.tgz and b/lib/xmerl/test/xmerl_std_SUITE_data/oasis.tgz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/sun.tgz b/lib/xmerl/test/xmerl_std_SUITE_data/sun.tgz index 022e64ab9e6c..337432d70bf2 100644 Binary files a/lib/xmerl/test/xmerl_std_SUITE_data/sun.tgz and b/lib/xmerl/test/xmerl_std_SUITE_data/sun.tgz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/xmltest.tgz b/lib/xmerl/test/xmerl_std_SUITE_data/xmltest.tgz index d49fe26ff033..6c37ed4be1da 100644 Binary files a/lib/xmerl/test/xmerl_std_SUITE_data/xmltest.tgz and b/lib/xmerl/test/xmerl_std_SUITE_data/xmltest.tgz differ diff --git a/lib/xmerl/test/xmerl_std_SUITE_data/xmlts20130923.tar.gz b/lib/xmerl/test/xmerl_std_SUITE_data/xmlts20130923.tar.gz new file mode 100644 index 000000000000..f3445fdeb636 Binary files /dev/null and b/lib/xmerl/test/xmerl_std_SUITE_data/xmlts20130923.tar.gz differ