Skip to contentSkip to conversation

master - test: correct order

PATCH Zdenek Kabelac 1 participant 1 message Apr 23, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=320d7f3596f78972d5fa843b9d56510ff299a958
Commit:        320d7f3596f78972d5fa843b9d56510ff299a958
Parent:        23775c8fe8cdd82dee33cd397eeab5a84181380b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Apr 23 17:05:19 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Apr 23 17:05:19 2013 +0200

test: correct order

Call notify after resume (like in enable_dev()).

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index d500b37..4339ef4 100644
@@ -413,8 +413,8 @@ error_dev() {
 		dmsetup create -u "TEST-$name" "$name" "$name.errtable"
 	fi
 	# using device name (since device path does not exists yet with udev)
-	notify_lvmetad "$dev"
 	dmsetup resume "$name"
+	notify_lvmetad "$dev"
 	finish_udev_transaction
 }