iSulad/0015-add-fuzz-dict.patch
haozi007 240929c0e4 sync from openeuler iSulad
1. bug fix;
2. improve health check;
3. ensure read call for string;

Signed-off-by: haozi007 <liuhao27@huawei.com>
2022-08-13 15:23:22 +08:00

30 lines
947 B
Diff

From 13c9523f3f69bafc62be8465dea235bdc7e6df4f Mon Sep 17 00:00:00 2001
From: WangFengTu <wangfengtu@huawei.com>
Date: Thu, 11 Aug 2022 20:30:48 +0800
Subject: [PATCH 15/15] add fuzz dict
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
---
test/fuzz/dict/test_volume_mount_spec_fuzz.dict | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/fuzz/dict/test_volume_mount_spec_fuzz.dict b/test/fuzz/dict/test_volume_mount_spec_fuzz.dict
index 8ef79c0b..39ae41df 100644
--- a/test/fuzz/dict/test_volume_mount_spec_fuzz.dict
+++ b/test/fuzz/dict/test_volume_mount_spec_fuzz.dict
@@ -31,4 +31,11 @@
"bind-selinux-opts"
"selinux-opts"
"volume-nocopy"
+"volume-nocopy=true"
+"volume-nocopy=false"
"empty"
+"type=bind,src=/bind,dst=/bind,volume-nocopy=true,volume-nocopy=true"
+"type=bind,src=/bind,dst=/bind"
+"type=tmpfs,dst=/tmpfs,volume-nocopy=true"
+"type=squashfs,src=/bind,dst=/tmpfs"
+"type=squashfs,src=/,dst=/tmpfs"
--
2.25.1