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:
Sebastien Boeuf 2019-08-12 11:04:47 -07:00 committed by Samuel Ortiz
parent 3645bf8d0f
commit ef2e8b6bc2

View File

@ -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"
);