diff options
author | Yo Chiang <yochiang@google.com> | 2021-02-01 20:33:54 +0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2021-02-15 07:53:54 -0600 |
commit | 086356b88e237941eecc78b33b84af969bec0fbe (patch) | |
tree | e06def68c8bacbb5884389264950f3556cfb5f86 | |
parent | 5f5f97f215bb5d398bb7b0027d8e9ab84668e07a (diff) | |
download | toybox-086356b88e237941eecc78b33b84af969bec0fbe.tar.gz |
Fix mount.test command string quoting
Use "" instead of '' to quote command as the command contains expandable
variables.
Change-Id: Iaa8825e56243b369199588cbf6e47a1aba985804
-rw-r--r-- | tests/mount.test | 4 |
1 files changed, 2 insertions, 2 deletions
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 && |