anchor.diff:          "chown -R syncoid:syncoid /var/lib/syncoid/",
       )
   
  -    source.succeed("touch /tmp/mnt/test.txt")
  +    # Take snapshot with sanoid
  +    source.succeed("touch /mnt/pool/sanoid/test.txt")
       source.systemctl("start --wait sanoid.service")
   
  +    # Sync snapshots
       target.wait_for_open_port(22)
  +    source.succeed("touch /mnt/pool/syncoid/test.txt")
       source.systemctl("start --wait syncoid.service")
  -    target.succeed(
  -        "mkdir /tmp/mnt",
  -        "zfs set mountpoint=legacy pool/test",
  -        "mount -t zfs pool/test /tmp/mnt",
  -    )
  -    target.succeed("cat /tmp/mnt/test.txt")
  +    target.succeed("cat /mnt/pool/sanoid/test.txt")
  +    target.succeed("cat /mnt/pool/syncoid/test.txt")
     '';
   })
  
positive.code: 
            autosnap = true;
          };
          datasets."pool/test".useTemplate = [ "test" ];
        };
  
        services.syncoid = {
          enable = true;
          sshKey = "/var/lib/syncoid/id_ecdsa";
          commands."pool/test".target = "root@target:pool/test";
        };
      };
      target = { ... }: {
  
negative.code: 
    testScript = ''
      source.succeed(
          "mkdir /mnt",
          "parted --script /dev/vdb -- mklabel msdos mkpart primary 1024M -1s",
          "udevadm settle",
          "zpool create pool -R /mnt /dev/vdb1",
          "zfs create pool/sanoid",
          "zfs create pool/syncoid",
          "udevadm settle",
      )
      target.succeed(
          "mkdir /mnt",
          "parted --script /dev/vdb -- mklabel msdos mkpart primary 1024M -1s",
          "udevadm settle",
          "zpool create pool -R /mnt /dev/vdb1",
          "udevadm settle",
      )
  
  