diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-07 09:54:47 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-07 10:19:33 +0200 |
commit | 236db9fc0df9784d559fbce49a9fcb5e642e6445 (patch) | |
tree | 55c1a56771f5f8a3c4953dc6480de6132c06d8a8 /test/shell/process-each-pv-nomda.sh | |
parent | 75c4d268e9b0b70c58f8b8b018fe200aca7b8bb2 (diff) | |
download | lvm2-236db9fc0df9784d559fbce49a9fcb5e642e6445.tar.gz |
tests: put devs into ""
Diffstat (limited to 'test/shell/process-each-pv-nomda.sh')
-rw-r--r-- | test/shell/process-each-pv-nomda.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/test/shell/process-each-pv-nomda.sh b/test/shell/process-each-pv-nomda.sh index 10ce87818..82e6bc4ee 100644 --- a/test/shell/process-each-pv-nomda.sh +++ b/test/shell/process-each-pv-nomda.sh @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions @@ -15,13 +15,11 @@ test_description='Test process_each_pv with zero mda' aux prepare_devs 2 -pvcreate $dev1 --metadatacopies 0 -pvcreate $dev2 +pvcreate "$dev1" --metadatacopies 0 +pvcreate "$dev2" vgcreate $vg1 "$dev1" "$dev2" -pvdisplay -a -C >err -cat err -grep $dev1 err -grep $dev2 err - +pvdisplay -a -C | tee err +grep "$dev1" err +grep "$dev2" err |