summaryrefslogtreecommitdiff
path: root/0180-fix-storage-driver-ut.patch
blob: 355860da4c75a62945f84a9c7b73a4578f726784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 0c17c332565f32ea59f67dfc67bf32cda5660372 Mon Sep 17 00:00:00 2001
From: wujichao <wujichao1@huawei.com>
Date: Tue, 14 Jan 2025 14:33:11 +0800
Subject: [PATCH 180/198] fix storage driver ut

---
 test/image/oci/storage/layers/storage_driver_ut.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/image/oci/storage/layers/storage_driver_ut.cc b/test/image/oci/storage/layers/storage_driver_ut.cc
index 79b29b71..3a530715 100644
--- a/test/image/oci/storage/layers/storage_driver_ut.cc
+++ b/test/image/oci/storage/layers/storage_driver_ut.cc
@@ -138,6 +138,7 @@ protected:
         std::string isulad_dir = "/opt/isulad_storege_driver_ut/";
         mkdir(isulad_dir.c_str(), 0755);
         std::string root_dir = isulad_dir + "data";
+        mkdir(root_dir.c_str(), 0755);
         std::string run_dir = isulad_dir + "data/run";
         std::string data_dir = GetDirectory() + "/data";
 
-- 
2.34.1