platformtest: harness: -failure.stop-and-keep-pool mode, prettier logging

This commit is contained in:
Christian Schwarz
2019-10-14 17:45:44 +02:00
parent f8f9fd11cd
commit 18d2c350de
4 changed files with 18 additions and 10 deletions
@@ -18,10 +18,6 @@ func UndestroyableSnapshotParsing(t *platformtest.Context) {
+ "foo bar@7 8 9"
R zfs hold zrepl_platformtest "${ROOTDS}/foo bar@4 5 6"
`)
defer platformtest.Run(t, platformtest.PanicErr, t.RootDataset, `
R zfs release zrepl_platformtest "${ROOTDS}/foo bar@4 5 6"
DESTROYROOT
`)
err := zfs.ZFSDestroy(fmt.Sprintf("%s/foo bar@1 2 3,4 5 6,7 8 9", t.RootDataset))
if err == nil {