improve ensureZfsMounted script
This commit is contained in:
@@ -86,6 +86,15 @@ testPkgs.testers.runNixOSTest {
|
||||
|
||||
machine.succeed("zfsEnsureMounted /mnt/test_mountpoint /mnt/test_mountpoint_dos")
|
||||
|
||||
machine.succeed("zfs create -o mountpoint='/mnt/test path with spaces' rpool/test3")
|
||||
|
||||
machine.succeed("zfsEnsureMounted '/mnt/test path with spaces'")
|
||||
|
||||
machine.succeed("echo 'ZFS output for escaped spaces:'; zfs list -o mountpoint,mounted -H | grep escaped")
|
||||
|
||||
machine.succeed("zfsEnsureMounted /mnt/test\\ escaped\\ spaces")
|
||||
|
||||
machine.succeed("zfsEnsureMounted /mnt/test_mountpoint '/mnt/test path with spaces' /mnt/test_mountpoint_dos")
|
||||
|
||||
machine.succeed("zfs create -o mountpoint=/mnt/foobar_data rpool/foobar")
|
||||
machine.succeed("systemctl start foobar")
|
||||
|
||||
Reference in New Issue
Block a user