From 5d6a6bdf7b3e11f37d0255da0f06e7c7bd3d5133 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Wed, 5 Jan 2011 01:04:47 +0000 Subject: [PATCH] Fix another bug in t-pvcreate-operation-md (should pass now). --- test/t-pvcreate-operation-md.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/t-pvcreate-operation-md.sh b/test/t-pvcreate-operation-md.sh index b4427a12c..a844e32fc 100644 --- a/test/t-pvcreate-operation-md.sh +++ b/test/t-pvcreate-operation-md.sh @@ -45,13 +45,13 @@ cleanup_md() { cleanup_md_and_teardown() { cleanup_md - teardown + aux teardown } # create 2 disk MD raid0 array (stripe_width=128K) test -b "$mddev" && exit 200 mdadm --create --metadata=1.0 $mddev --auto=md --level 0 --raid-devices=2 --chunk 64 $dev1 $dev2 -trap 'aux cleanup_md_and_teardown' EXIT # cleanup this MD device at the end of the test +trap 'cleanup_md_and_teardown' EXIT # cleanup this MD device at the end of the test test -b "$mddev" || exit 200 # Test alignment of PV on MD without any MD-aware or topology-aware detection -- 2.43.5