From 086356b88e237941eecc78b33b84af969bec0fbe Mon Sep 17 00:00:00 2001 From: Yo Chiang Date: Mon, 1 Feb 2021 20:33:54 +0800 Subject: Fix mount.test command string quoting Use "" instead of '' to quote command as the command contains expandable variables. Change-Id: Iaa8825e56243b369199588cbf6e47a1aba985804 --- tests/mount.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/mount.test b/tests/mount.test index 19ba5654..4f7a667f 100644 --- a/tests/mount.test +++ b/tests/mount.test @@ -47,8 +47,8 @@ testing "-w $tmp_b_fs /mnt (write_only mode)" \ sleep 1 && umount /mnt && ! test -e /mnt/testDir" "" "" "" reCreateTmpFs testing "-rw $tmp_b_fs /mnt (read_write mode)" \ - 'mount -rw $tmp_b_fs /mnt >/dev/null && mkdir /mnt/testDir && \ - sleep 1 && ! test -e /mnt/testDir && umount /mnt' "" "" "" + "mount -rw $tmp_b_fs /mnt >/dev/null && mkdir /mnt/testDir && \ + sleep 1 && ! test -e /mnt/testDir && umount /mnt" "" "" "" reCreateTmpFs testing "$tmp_b_fs /mnt -t fs_type" \ "mount $tmp_b_fs /mnt -t $tmp_b_fs_type >/dev/null 2>&1 && -- cgit v1.2.3