All unit_tests now pass for ATOMS:
[scilab.git] / scilab / modules / atoms / tests / unit_tests / atomsInstall.dia.ref
index d65e1b4..0e0b2c4 100644 (file)
@@ -14,132 +14,127 @@ atomsSaveConfig();
 atomsSetConfig("autoloadAddAfterInstall","False");
 atomsSetConfig("Verbose" ,"False");
 // Load the 1st scenario : See scene10.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene10.test.atoms.scilab.org");
-Scanning repository http://scene10.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene10.6.0.test.atoms.scilab.org");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
 // Install the toolbox 5
 // =============================================================================
-atomsInstall("toolbox_5");
+atomsInstall("toolbox_5V6");
 // Check if the module is really installed
-if ~atomsIsInstalled("toolbox_5")           then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0"])   then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"]) then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6")           then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0"])   then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"]) then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6")           then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5");
+atomsRemove("toolbox_5V6");
 // Install the toolbox 5 (version is mentioned)
 // =============================================================================
-atomsInstall(["toolbox_5" "1.0"]);
+atomsInstall(["toolbox_5V6" "1.0"]);
 // Check if the module is really installed
-if ~atomsIsInstalled("toolbox_5")           then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0"])   then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"]) then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6")           then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0"])   then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"]) then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6")           then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5");
+atomsRemove("toolbox_5V6");
 // Install the toolbox 5 (version + packaging version are mentioned)
 // =============================================================================
-atomsInstall(["toolbox_5" "1.0-1"]);
+atomsInstall(["toolbox_5V6" "1.0-1"]);
 // Check if the module is really installed
-if ~atomsIsInstalled("toolbox_5")           then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0"])   then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"]) then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2")           then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6")           then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0"])   then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"]) then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6")           then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6")           then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5");
+atomsRemove("toolbox_5V6");
 // Install the toolbox 5 (user section)
 // =============================================================================
-atomsInstall("toolbox_5","user");
-if ~atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
-atomsRemove("toolbox_5","user");
-if atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
+atomsInstall("toolbox_5V6","user");
+if ~atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
+atomsRemove("toolbox_5V6","user");
+if atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
 // Install the toolbox 5 (allusers section)
 // =============================================================================
-atomsInstall("toolbox_5","allusers");
-if ~atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
-atomsRemove("toolbox_5","allusers");
-if atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
+atomsInstall("toolbox_5V6","allusers");
+if ~atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
+atomsRemove("toolbox_5V6","allusers");
+if atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
 // Install the toolbox 5 (Both section)
 // =============================================================================
-atomsInstall("toolbox_5","allusers");
-atomsInstall("toolbox_5","user");
-if ~atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
-atomsRemove("toolbox_5","allusers");
-if atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
-atomsInstall("toolbox_5","allusers");
-atomsRemove("toolbox_5","user");
-if atomsIsInstalled("toolbox_5","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_4","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_2","user") then bugmes();quit;end
-if atomsIsInstalled("toolbox_1","user") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_5","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_4","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_2","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_1","allusers") then bugmes();quit;end
-atomsRemove("toolbox_5","allusers");
+atomsInstall("toolbox_5V6","allusers");
+atomsInstall("toolbox_5V6","user");
+if ~atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
+atomsRemove("toolbox_5V6","allusers");
+if atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
+atomsInstall("toolbox_5V6","allusers");
+atomsRemove("toolbox_5V6","user");
+if atomsIsInstalled("toolbox_5V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_4V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_2V6","user") then bugmes();quit;end
+if atomsIsInstalled("toolbox_1V6","user") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_5V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_4V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_2V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_1V6","allusers") then bugmes();quit;end
+atomsRemove("toolbox_5V6","allusers");
 // Install the toolbox 7 (Local package)
 // =============================================================================
-atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7_1.0-1.bin.zip","allusers");
-Scanning repository http://scene10.test.atoms.scilab.org ... Done
-
-atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7_1.0-1.bin.zip","user");
-Scanning repository http://scene10.test.atoms.scilab.org ... Done
-
-if ~atomsIsInstalled("toolbox_7","allusers") then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_7","user")     then bugmes();quit;end
-atomsRemove("toolbox_7","allusers");
-if atomsIsInstalled("toolbox_7","allusers")  then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_7","user")     then bugmes();quit;end
-atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7_1.0-1.bin.zip","allusers");
-Scanning repository http://scene10.test.atoms.scilab.org ... Done
-
-atomsRemove("toolbox_7","user");
-if atomsIsInstalled("toolbox_7","user")      then bugmes();quit;end
-if ~atomsIsInstalled("toolbox_7","allusers") then bugmes();quit;end
-atomsRemove("toolbox_7","allusers");
+atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7V6_1.0-1.bin.zip","allusers");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7V6_1.0-1.bin.zip","user");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+if ~atomsIsInstalled("toolbox_7V6","allusers") then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_7V6","user")     then bugmes();quit;end
+atomsRemove("toolbox_7V6","allusers");
+if atomsIsInstalled("toolbox_7V6","allusers")  then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_7V6","user")     then bugmes();quit;end
+atomsInstall(SCI+"/modules/atoms/tests/unit_tests/toolbox_7V6_1.0-1.bin.zip","allusers");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsRemove("toolbox_7V6","user");
+if atomsIsInstalled("toolbox_7V6","user")      then bugmes();quit;end
+if ~atomsIsInstalled("toolbox_7V6","allusers") then bugmes();quit;end
+atomsRemove("toolbox_7V6","allusers");
 // Restore original values
 // =============================================================================
 atomsRestoreConfig(%T);
 atomsRepositorySetOfl(mgetl(SCI+"/modules/atoms/tests/unit_tests/repositories.orig"));
-Scanning repository http://atoms.scilab.org/5.5 ... Done
-
+Scanning repository http://atoms.scilab.org/6.0 ... Done