[functional-tests] simplify (thin create devices-in-reverse-order)

This commit is contained in:
Joe Thornber 2017-12-20 09:01:46 +00:00
parent 0d4fdcc687
commit 2aa6c05c4b

View File

@ -599,9 +599,8 @@
"Keep adding a key that's lower than any in the tree." "Keep adding a key that's lower than any in the tree."
(with-default-pool (pool) (with-default-pool (pool)
(from-to (n 300 0 -1) (from-to (n 300 0 -1)
(unless (zero? n) (create-thin pool n)
(create-thin pool n) (with-thin (thin pool n (gig 1)) #t)))) ; activate to check it's there
(with-thin (thin pool n (gig 1)) #t))))) ; activate to check it's there
;;;----------------------------------------------------------- ;;;-----------------------------------------------------------
;;; Thin deletion scenarios ;;; Thin deletion scenarios