mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
tests: Update virtio-fs mount command
Because the way to mount virtio-fs filesystem changed with newest kernel, we need to update the mount command in our integration tests. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
3645bf8d0f
commit
ef2e8b6bc2
@ -1110,7 +1110,7 @@ mod tests {
|
||||
// Mount shared directory through virtio_fs filesystem
|
||||
aver_eq!(
|
||||
tb,
|
||||
guest.ssh_command("mkdir -p mount_dir && sudo mount -t virtio_fs /dev/null mount_dir/ -o tag=virtiofs,rootmode=040000,user_id=1001,group_id=1001 && echo ok")
|
||||
guest.ssh_command("mkdir -p mount_dir && sudo mount -t virtio_fs virtiofs mount_dir/ -o rootmode=040000,user_id=1001,group_id=1001 && echo ok")
|
||||
.trim(),
|
||||
"ok"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user