Fix extensive smoke tests related with res-control 20/260920/1
authorIlho Kim <ilho159.kim@samsung.com>
Wed, 7 Jul 2021 01:10:54 +0000 (10:10 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Wed, 7 Jul 2021 01:10:54 +0000 (10:10 +0900)
work directory is not necessary in readonly overlay mount

Change-Id: I2493c5b9a5d3afe16b7250ef3c3c74c5b70d1660
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
test/smoke_tests/extensive_smoke_test.cc

index 3266eff01c34e9333445880be656e9e07f0652ac..b9e4150f4b22c97f3fab109eeb350f3d64b5ad32 100644 (file)
@@ -573,8 +573,6 @@ TEST_F(SmokeTest, RecoveryMode_AddResControl) {
           dir_exists);
       EXTENDED_ASSERT_EQ(bf::exists(root_path / pkgid / "res/mount/global"),
           dir_exists);
-      EXTENDED_ASSERT_EQ(bf::exists(root_path / pkgid / "res/mount/work"),
-          dir_exists);
 
       if (recovery_info->cleanup()) {
         EXTENDED_ASSERT_EQ(backend.Uninstall(pkgid),
@@ -619,8 +617,6 @@ TEST_F(SmokeTest, RecoveryMode_RemoveResControl) {
           dir_exists);
       EXTENDED_ASSERT_EQ(bf::exists(root_path / pkgid / "res/mount/global"),
           dir_exists);
-      EXTENDED_ASSERT_EQ(bf::exists(root_path / pkgid / "res/mount/work"),
-          dir_exists);
 
       if (recovery_info->cleanup()) {
         EXTENDED_ASSERT_EQ(backend.Uninstall(pkgid),