summaryrefslogtreecommitdiffstats
path: root/test/shell/pool-labels.sh
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2012-02-23 23:58:42 +0000
committerPetr Rockai <prockai@redhat.com>2012-02-23 23:58:42 +0000
commit726cf41b80acb379ff69f476bb3b88df0db937d0 (patch)
tree12c99a5e359621495804e3509f9c0300ec323e56 /test/shell/pool-labels.sh
parent3f694b1265e6b8fffde56627f709491addaa6a1b (diff)
downloadlvm2-726cf41b80acb379ff69f476bb3b88df0db937d0.tar.gz
lvm2-726cf41b80acb379ff69f476bb3b88df0db937d0.tar.xz
lvm2-726cf41b80acb379ff69f476bb3b88df0db937d0.zip
Make the calls to pvscan --lvmetad in the testsuite slightly more civilised.
Diffstat (limited to 'test/shell/pool-labels.sh')
-rw-r--r--test/shell/pool-labels.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/pool-labels.sh b/test/shell/pool-labels.sh
index b4590f02..c3cbda96 100644
--- a/test/shell/pool-labels.sh
+++ b/test/shell/pool-labels.sh
@@ -18,7 +18,7 @@ create_pool_label_()
# printf comes from coreutils, and is probably not posix either
env printf "\x01\x16\x70\x06\x5f\xcf\xff\xb9\xf8\x24\x8apool1" | dd of=$2 bs=5 seek=1 conv=notrunc
env printf "\x04\x01\x03\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x0$1\x68\x01\x16\x70\x00\x00\x00\x00\x00\x06\x5f\xd0" | dd of=$2 bs=273 seek=1 conv=notrunc
- pvscan --lvmetad "$2" || true
+ aux notify_lvmetad "$2"
}
env printf "" || exit 200 # skip if printf is not available