From 4512267bf1e0f5bbb4d3cd541b1d920ca479c0b9 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 6 Apr 2010 14:24:13 +0000 Subject: [PATCH] Using 'not' if the test 'should' fail. --- test/t-lvcreate-operation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t-lvcreate-operation.sh b/test/t-lvcreate-operation.sh index 15cd99554..44d97b41b 100644 --- a/test/t-lvcreate-operation.sh +++ b/test/t-lvcreate-operation.sh @@ -38,5 +38,5 @@ cleanup_lvs # -- # Create mirror on one dev with mirrored log using --alloc anywhere, should fail -lvcreate -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere $dev1 +not lvcreate -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere $dev1 cleanup_lvs -- 2.43.5