From ef2e8b6bc20b05d5b068ec86dd477174f5ec6c22 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 12 Aug 2019 11:04:47 -0700 Subject: [PATCH] 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 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 39ccef781..c392dcd52 100755 --- a/src/main.rs +++ b/src/main.rs @@ -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" );