mount \
-o nodev,nosuid,noexec \
--t ext3 /dev/sda6 /mnt
+-t ext3 \
+/dev/sda6 \
+/mnt
-mount -t ext3 /dev/sda6 /mnt
+mount \
+-t ext3 \
+/dev/sda6 \
+/mnt
-vgchange -aly HostVG
+vgchange \
+-aly HostVG
-vgchange -aly zily
+vgchange \
+-aly zily
-vgchange -aly HostVG
+vgchange \
+-aly HostVG
-vgchange -aly HostVG
+vgchange \
+-aly HostVG
mount \
--o nodev,nosuid,noexec localhost:/var/lib/libvirt/images /mnt
+-o nodev,nosuid,noexec \
+localhost:/var/lib/libvirt/images \
+/mnt
-mount localhost:/var/lib/libvirt/images /mnt
+mount \
+localhost:/var/lib/libvirt/images \
+/mnt
mount \
-o nodev,nosuid,noexec,guest \
--t cifs //example.com/samba_share /mnt/cifs
+-t cifs \
+//example.com/samba_share \
+/mnt/cifs
mount \
-o nodev,nosuid,noexec,direct-io-mode=1 \
--t glusterfs example.com:/volume /mnt/gluster
+-t glusterfs \
+example.com:/volume \
+/mnt/gluster
mount \
-o nodev,nosuid,noexec \
--t nfs localhost:/var/lib/libvirt/images /mnt
+-t nfs \
+localhost:/var/lib/libvirt/images \
+/mnt
mount \
-o nodev,nosuid,noexec,nfsvers=3,sync,lazytime \
--t nfs localhost:/var/lib/libvirt/images /mnt
+-t nfs \
+localhost:/var/lib/libvirt/images \
+/mnt
mount \
-o nodev,nosuid,noexec,nfsvers=3 \
--t nfs localhost:/var/lib/libvirt/images /mnt
+-t nfs \
+localhost:/var/lib/libvirt/images \
+/mnt
-mount -t nfs localhost:/var/lib/libvirt/images /mnt
+mount \
+-t nfs \
+localhost:/var/lib/libvirt/images \
+/mnt
goto cleanup;
};
- if (!(actualCmdline = virCommandToStringFull(cmd, false, true))) {
+ if (!(actualCmdline = virCommandToStringFull(cmd, true, true))) {
VIR_TEST_DEBUG("pool type '%s' failed to get commandline", defTypeStr);
goto cleanup;
}
- if (virTestCompareToFile(actualCmdline, cmdline) < 0)
+ if (virTestCompareToFileFull(actualCmdline, cmdline, false) < 0)
goto cleanup;
ret = 0;