Remove extra slash from paths

This commit removes the extra slash '/' from the path from:
- the update_boot function
- the verifytime script

Signed-off-by: Castulo Martinez <castulo.martinez@intel.com>
This commit is contained in:
Castulo Martinez
2020-03-30 13:39:04 -07:00
committed by Otavio Pontes
parent e9739d9eb3
commit da0ef3e05e
6 changed files with 45 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ test_setup() {
{ "type" : "info", "msg" : " 0 of 2 missing files were not installed" },
{ "type" : "progress", "currentStep" : 9, "totalSteps" : 9, "stepCompletion" : -1, "stepDescription" : "run_postupdate_scripts" },
{ "type" : "info", "msg" : "Calling post-update helper scripts" },
{ "type" : "warning", "msg" : "helper script ($TEST_DIRNAME/testfs/target-dir//usr/bin/clr-boot-manager) not found, it will be skipped" },
{ "type" : "warning", "msg" : "helper script ($TEST_DIRNAME/testfs/target-dir/usr/bin/clr-boot-manager) not found, it will be skipped" },
{ "type" : "info", "msg" : " Installation successful" },
{ "type" : "progress", "currentStep" : 9, "totalSteps" : 9, "stepCompletion" : 100, "stepDescription" : "run_postupdate_scripts" },
{ "type" : "end", "section" : "os-install", "status" : 0 }
+1 -1
View File
@@ -36,7 +36,7 @@ test_setup() {
1 of 1 files were repaired
0 of 1 files were not repaired
Calling post-update helper scripts
Warning: helper script ($PATH_PREFIX//usr/bin/clr-boot-manager) not found, it will be skipped
Warning: helper script ($PATH_PREFIX/usr/bin/clr-boot-manager) not found, it will be skipped
Repair successful
EOM
)
+1 -1
View File
@@ -153,7 +153,7 @@ test_setup() {
{ "type" : "progress", "currentStep" : 9, "totalSteps" : 10, "stepCompletion" : 100, "stepDescription" : "remove_extra_files" },
{ "type" : "progress", "currentStep" : 10, "totalSteps" : 10, "stepCompletion" : -1, "stepDescription" : "run_postupdate_scripts" },
{ "type" : "info", "msg" : "Calling post-update helper scripts" },
{ "type" : "warning", "msg" : "helper script ($PATH_PREFIX//usr/bin/clr-boot-manager) not found, it will be skipped" },
{ "type" : "warning", "msg" : "helper script ($PATH_PREFIX/usr/bin/clr-boot-manager) not found, it will be skipped" },
{ "type" : "info", "msg" : " Repair successful" },
{ "type" : "progress", "currentStep" : 10, "totalSteps" : 10, "stepCompletion" : 100, "stepDescription" : "run_postupdate_scripts" },
{ "type" : "end", "section" : "repair", "status" : 0 }
+1 -1
View File
@@ -32,7 +32,7 @@ test_setup() {
Installing files...
Update was applied
Calling post-update helper scripts
Warning: helper script ($TEST_DIRNAME/testfs/target-dir//usr/bin/clr-boot-manager) not found, it will be skipped
Warning: helper script ($TEST_DIRNAME/testfs/target-dir/usr/bin/clr-boot-manager) not found, it will be skipped
Update successful - System updated from version 10 to version 100
EOM
)