stricter test

This commit is contained in:
Edwin Eefting 2020-05-17 16:21:06 +02:00
parent 797fb23baa
commit 2305fdf033
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
* Complete rewrite, cleaner object oriented code. * Complete rewrite, cleaner object oriented code.
* Python 3 and 2 support. * Python 3 and 2 support.
* Automated regression against real ZFS environment.
* Installable via [pip](https://pypi.org/project/zfs-autobackup/). * Installable via [pip](https://pypi.org/project/zfs-autobackup/).
* Backwards compatible with your current backups and parameters. * Backwards compatible with your current backups and parameters.
* Progressive thinning (via a destroy schedule. default schedule should be fine for most people) * Progressive thinning (via a destroy schedule. default schedule should be fine for most people)
@ -21,6 +22,7 @@
* Supports raw backups for encryption. * Supports raw backups for encryption.
* Custom SSH client config. * Custom SSH client config.
## Introduction ## Introduction
This is a tool I wrote to make replicating ZFS datasets easy and reliable. You can either use it as a backup tool or as a replication tool. This is a tool I wrote to make replicating ZFS datasets easy and reliable. You can either use it as a backup tool or as a replication tool.

View File

@ -33,7 +33,7 @@ test_target1
with self.subTest("second snapshot, no changes, no snapshot"): with self.subTest("second snapshot, no changes, no snapshot"):
node.consistent_snapshot(node.selected_datasets, "test-2",100000) node.consistent_snapshot(node.selected_datasets, "test-2",1)
r=shelltest("zfs list -H -o name -r -t all") r=shelltest("zfs list -H -o name -r -t all")
self.assertEqual(r,""" self.assertEqual(r,"""
test_source1 test_source1