All unit_tests now pass for ATOMS:
[scilab.git] / scilab / modules / atoms / tests / unit_tests / atomsUpdate.dia.ref
index e8d8447..a115770 100644 (file)
@@ -8,7 +8,7 @@
 load("SCI/modules/atoms/macros/atoms_internals/lib");
 // We need a clean version
 // =============================================================================
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // If previous test did not end properly, restore, else backup config file
 atomsRestoreConfig(%T);
 atomsSaveConfig();
@@ -19,213 +19,202 @@ atomsSetConfig("Verbose" ,"False");
 // 1st test-case : Just install the toolbox 5
 // =============================================================================
 // 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
-
-atomsInstall("toolbox_5","user");
+atomsRepositorySetOfl("http://scene10.6.0.test.atoms.scilab.org");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsInstall("toolbox_5V6","user");
 // Check if the module is really installed
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"all")  then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"all")  then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Load the 2nd scenario : See scene11.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
-Scanning repository http://scene11.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene11.6.0.test.atoms.scilab.org");
+Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done
 atomsUpdate();
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"all")  then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"all")  then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5","user");
+atomsRemove("toolbox_5V6","user");
 // no module should be installed
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // 2nd test-case : Install toolbox 4 and then toolbox 5
 // =============================================================================
 // 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
-
-atomsInstall("toolbox_4","user");
-atomsInstall("toolbox_5","user");
+atomsRepositorySetOfl("http://scene10.6.0.test.atoms.scilab.org");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsInstall("toolbox_4V6","user");
+atomsInstall("toolbox_5V6","user");
 // Check if the module is really installed
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"all")  then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"all")  then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Load the 2nd scenario : See scene11.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
-Scanning repository http://scene11.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene11.6.0.test.atoms.scilab.org");
+Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done
 atomsUpdate();
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"all")  then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"all")  then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5","user");
-atomsRemove("toolbox_4","user");
+atomsRemove("toolbox_5V6","user");
+atomsRemove("toolbox_4V6","user");
 // no module should be installed
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // 3rd test-case : Install toolbox 4 and toolbox 3
 // => Test the behaviour of toolbox_2
 // =============================================================================
 // 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
-
-atomsInstall("toolbox_3","user");
-atomsInstall("toolbox_4","user");
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_3" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "2.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"all")  then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_2" "2.1-1"],"all")  then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_3" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "2.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+atomsRepositorySetOfl("http://scene10.6.0.test.atoms.scilab.org");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsInstall("toolbox_3V6","user");
+atomsInstall("toolbox_4V6","user");
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_3V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "2.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"all")  then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_2V6" "2.1-1"],"all")  then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_3V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "2.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Load the 2nd scenario : See scene11.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
-Scanning repository http://scene11.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene11.6.0.test.atoms.scilab.org");
+Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done
 atomsUpdate();
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_3" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "2.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"all")  then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_2" "2.0-1"],"all")  then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_3" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "2.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
-atomsRemove("toolbox_4","user");
-atomsRemove("toolbox_3","user");
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_3V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "2.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"all")  then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_2V6" "2.0-1"],"all")  then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_3V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "2.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+atomsRemove("toolbox_4V6","user");
+atomsRemove("toolbox_3V6","user");
 // no module should be installed
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // 4th test-case : Test the user/allusers behaviour
 // =============================================================================
 // 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
-
-atomsInstall("toolbox_5","user");
-atomsInstall("toolbox_5","allusers");
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"allusers") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"allusers") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"allusers")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
+atomsRepositorySetOfl("http://scene10.6.0.test.atoms.scilab.org");
+Scanning repository http://scene10.6.0.test.atoms.scilab.org ... Done
+atomsInstall("toolbox_5V6","user");
+atomsInstall("toolbox_5V6","allusers");
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"allusers") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"allusers") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"allusers")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
 // Load the 2nd scenario : See scene11.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
-Scanning repository http://scene11.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene11.6.0.test.atoms.scilab.org");
+Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done
 atomsUpdate([],"user");
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.0-1"],"allusers") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.1-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"allusers") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.0-1"],"allusers") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.1-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"allusers") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.0-1"],"allusers")<>"A" then bugmes();quit;end
 atomsUpdate([],"allusers");
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"allusers") then bugmes();quit;end
-if  atomsIsInstalled(["toolbox_4" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"allusers") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"allusers") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"allusers")<>"A" then bugmes();quit;end
-atomsRemove("toolbox_5","user");
-atomsRemove("toolbox_5","allusers");
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"allusers") then bugmes();quit;end
+if  atomsIsInstalled(["toolbox_4V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"allusers") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"allusers") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"allusers")<>"A" then bugmes();quit;end
+atomsRemove("toolbox_5V6","user");
+atomsRemove("toolbox_5V6","allusers");
 // no module should be installed
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // 5th test-case : Test the packaging version update
 // =============================================================================
 // Load the 1st scenario : See scene11.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
-Scanning repository http://scene11.test.atoms.scilab.org ... Done
-
-atomsInstall("toolbox_5","user");
+atomsRepositorySetOfl("http://scene11.6.0.test.atoms.scilab.org");
+Scanning repository http://scene11.6.0.test.atoms.scilab.org ... Done
+atomsInstall("toolbox_5V6","user");
 // Check if the module is really installed
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"all")  then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"all")  then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Load the 2nd scenario : See scene12.test.atoms.scilab.org.txt
-atomsRepositorySetOfl("http://scene12.test.atoms.scilab.org");
-Scanning repository http://scene12.test.atoms.scilab.org ... Done
-
+atomsRepositorySetOfl("http://scene12.6.0.test.atoms.scilab.org");
+Scanning repository http://scene12.6.0.test.atoms.scilab.org ... Done
 atomsUpdate();
-if ~atomsIsInstalled(["toolbox_5" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_4" "1.1-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_2" "1.0-1"],"user") then bugmes();quit;end
-if ~atomsIsInstalled(["toolbox_1" "1.0-1"],"user") then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_5" "1.0-1"],"user")<>"I" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_4" "1.1-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_2" "1.0-1"],"user")<>"A" then bugmes();quit;end
-if atomsGetInstalledStatus(["toolbox_1" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_5V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_4V6" "1.1-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_2V6" "1.0-1"],"user") then bugmes();quit;end
+if ~atomsIsInstalled(["toolbox_1V6" "1.0-1"],"user") then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_5V6" "1.0-1"],"user")<>"I" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_4V6" "1.1-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_2V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
+if atomsGetInstalledStatus(["toolbox_1V6" "1.0-1"],"user")<>"A" then bugmes();quit;end
 // Remove the module
-atomsRemove("toolbox_5","user");
+atomsRemove("toolbox_5V6","user");
 // no module should be installed
-if ~isempty( atomsGetInstalled() ) then bugmes();quit;end 
+if ~isempty( atomsGetInstalled() ) then bugmes();quit;end
 // 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