From e55bae2b2caa67d6b6ee1346fd5cebfe67698677 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 2 Jul 2017 21:38:32 +0200 Subject: [PATCH] tests: use bash --- test/shell/000-basic.sh | 3 ++- test/shell/aa-lvmlockd-dlm-prepare.sh | 3 ++- test/shell/aa-lvmlockd-sanlock-prepare.sh | 3 ++- test/shell/activate-minor.sh | 3 ++- test/shell/activate-missing-segment.sh | 3 ++- test/shell/activate-missing.sh | 3 ++- test/shell/activate-partial.sh | 3 ++- test/shell/activation-skip.sh | 3 ++- test/shell/backup-read-only.sh | 3 ++- test/shell/cache-metadata2.sh | 3 ++- test/shell/clvmd-restart.sh | 3 ++- test/shell/covercmd.sh | 3 ++- test/shell/discards-thin.sh | 2 +- test/shell/dmeventd-restart.sh | 3 ++- test/shell/dmsetup-keyring.sh | 3 ++- test/shell/dmstats-create.sh | 3 ++- test/shell/dmstats-report.sh | 3 ++- test/shell/dumpconfig.sh | 3 ++- test/shell/error-usage.sh | 3 ++- test/shell/format-lvm1.sh | 3 ++- test/shell/fsadm-renamed.sh | 3 ++- test/shell/fsadm.sh | 3 ++- test/shell/inconsistent-metadata.sh | 3 ++- test/shell/listings.sh | 3 ++- test/shell/lock-blocking.sh | 3 ++- test/shell/lock-parallel.sh | 3 ++- test/shell/losetup-partscan.sh | 3 ++- test/shell/lv-ancestry.sh | 2 +- test/shell/lvchange-cache-mode.sh | 3 ++- test/shell/lvchange-cache-old.sh | 3 ++- test/shell/lvchange-cache-syncaction-raid.sh | 3 ++- test/shell/lvchange-cache.sh | 3 ++- test/shell/lvchange-mirror.sh | 3 ++- test/shell/lvchange-partial-raid10.sh | 3 ++- test/shell/lvchange-partial.sh | 3 ++- test/shell/lvchange-raid-transient-failures.sh | 3 ++- test/shell/lvchange-raid.sh | 3 ++- test/shell/lvchange-raid1-writemostly.sh | 3 ++- test/shell/lvchange-raid10.sh | 3 ++- test/shell/lvchange-raid456.sh | 3 ++- test/shell/lvchange-rebuild-raid.sh | 3 ++- test/shell/lvchange-syncaction-raid.sh | 3 ++- test/shell/lvchange-thin.sh | 3 ++- test/shell/lvconvert-cache-abort.sh | 3 ++- test/shell/lvconvert-cache-chunks.sh | 3 ++- test/shell/lvconvert-cache-raid.sh | 3 ++- test/shell/lvconvert-cache-smq.sh | 3 ++- test/shell/lvconvert-cache-snapshot.sh | 2 +- test/shell/lvconvert-cache-thin.sh | 3 ++- test/shell/lvconvert-cache.sh | 3 ++- test/shell/lvconvert-mirror-basic-0.sh | 3 ++- test/shell/lvconvert-mirror-basic-1.sh | 3 ++- test/shell/lvconvert-mirror-basic-2.sh | 3 ++- test/shell/lvconvert-mirror-basic-3.sh | 3 ++- test/shell/lvconvert-mirror-basic.sh | 3 ++- test/shell/lvconvert-mirror-updown.sh | 3 ++- test/shell/lvconvert-mirror.sh | 3 ++- test/shell/lvconvert-raid-allocation.sh | 3 ++- test/shell/lvconvert-raid-regionsize.sh | 3 ++- .../shell/lvconvert-raid-reshape-linear_to_striped.sh | 3 ++- .../shell/lvconvert-raid-reshape-striped_to_linear.sh | 3 ++- test/shell/lvconvert-raid-reshape.sh | 3 ++- test/shell/lvconvert-raid-status-validation.sh | 11 +++++++++++ test/shell/lvconvert-raid-takeover-alloc-failure.sh | 3 ++- test/shell/lvconvert-raid-takeover-thin.sh | 3 ++- test/shell/lvconvert-raid-takeover.sh | 3 ++- test/shell/lvconvert-raid.sh | 3 ++- test/shell/lvconvert-raid10.sh | 3 ++- test/shell/lvconvert-raid456.sh | 3 ++- test/shell/lvconvert-repair-cache.sh | 2 +- test/shell/lvconvert-repair-dmeventd.sh | 3 ++- test/shell/lvconvert-repair-mirror.sh | 3 ++- test/shell/lvconvert-repair-policy.sh | 3 ++- test/shell/lvconvert-repair-raid-dmeventd.sh | 3 ++- test/shell/lvconvert-repair-raid.sh | 3 ++- test/shell/lvconvert-repair-replace.sh | 3 ++- test/shell/lvconvert-repair-snapshot.sh | 3 ++- test/shell/lvconvert-repair-thin-raid.sh | 2 +- test/shell/lvconvert-repair-thin.sh | 2 +- test/shell/lvconvert-repair-transient-dmeventd.sh | 3 ++- test/shell/lvconvert-repair-transient.sh | 3 ++- test/shell/lvconvert-repair.sh | 3 ++- test/shell/lvconvert-snapshot.sh | 2 +- test/shell/lvconvert-thin-external-cache.sh | 2 +- test/shell/lvconvert-thin-external.sh | 2 +- test/shell/lvconvert-thin-raid.sh | 2 +- test/shell/lvconvert-thin.sh | 2 +- test/shell/lvconvert-twostep.sh | 3 ++- test/shell/lvcreate-cache-fail.sh | 3 ++- test/shell/lvcreate-cache-raid.sh | 3 ++- test/shell/lvcreate-cache-snapshot.sh | 3 ++- test/shell/lvcreate-cache.sh | 3 ++- test/shell/lvcreate-large-raid.sh | 3 ++- test/shell/lvcreate-large-raid10.sh | 3 ++- test/shell/lvcreate-large.sh | 3 ++- test/shell/lvcreate-mirror.sh | 3 ++- test/shell/lvcreate-missing.sh | 3 ++- test/shell/lvcreate-operation.sh | 3 ++- test/shell/lvcreate-pvtags.sh | 3 ++- test/shell/lvcreate-raid-nosync.sh | 3 ++- test/shell/lvcreate-raid.sh | 3 ++- test/shell/lvcreate-raid10.sh | 3 ++- test/shell/lvcreate-repair.sh | 3 ++- test/shell/lvcreate-signature-wiping.sh | 3 ++- test/shell/lvcreate-small-snap.sh | 3 ++- test/shell/lvcreate-striped-mirror.sh | 3 ++- test/shell/lvcreate-thin-big.sh | 2 +- test/shell/lvcreate-thin-external-size.sh | 2 +- test/shell/lvcreate-thin-external.sh | 2 +- test/shell/lvcreate-thin-power2.sh | 2 +- test/shell/lvcreate-thin-snap.sh | 2 +- test/shell/lvcreate-thin.sh | 2 +- test/shell/lvcreate-usage.sh | 3 ++- test/shell/lvextend-percent-extents.sh | 3 ++- test/shell/lvextend-snapshot-dmeventd.sh | 3 ++- test/shell/lvextend-snapshot-policy.sh | 3 ++- test/shell/lvextend-thin-data-dmeventd.sh | 3 ++- test/shell/lvextend-thin-full.sh | 3 ++- test/shell/lvextend-thin-metadata-dmeventd.sh | 3 ++- test/shell/lvextend-thin-raid.sh | 3 ++- test/shell/lvextend-thin.sh | 3 ++- test/shell/lvm-init.sh | 3 ++- test/shell/lvm1-basic.sh | 3 ++- test/shell/lvmcache-exercise.sh | 3 ++- test/shell/lvmetad-ambiguous.sh | 3 ++- test/shell/lvmetad-autoshutdown.sh | 3 ++- test/shell/lvmetad-client-filter.sh | 3 ++- test/shell/lvmetad-disabled.sh | 3 ++- test/shell/lvmetad-dump.sh | 3 ++- test/shell/lvmetad-lvscan-cache.sh | 3 ++- test/shell/lvmetad-no-cluster.sh | 3 ++- test/shell/lvmetad-override.sh | 3 ++- test/shell/lvmetad-pvs.sh | 3 ++- test/shell/lvmetad-pvscan-autoactivation-polling.sh | 3 ++- test/shell/lvmetad-pvscan-cache.sh | 3 ++- test/shell/lvmetad-pvscan-filter.sh | 3 ++- test/shell/lvmetad-pvscan-md.sh | 3 ++- test/shell/lvmetad-pvscan-nomda-bg.sh | 3 ++- test/shell/lvmetad-pvscan-nomda.sh | 3 ++- test/shell/lvmetad-restart.sh | 3 ++- test/shell/lvmetad-sysinit.sh | 3 ++- test/shell/lvmetad-test.sh | 3 ++- test/shell/lvmlockd-hello-world.sh | 3 ++- test/shell/lvmlockd-lv-types.sh | 3 ++- test/shell/lvrename-cache-thin.sh | 3 ++- test/shell/lvresize-full.sh | 3 ++- test/shell/lvresize-mirror.sh | 3 ++- test/shell/lvresize-raid.sh | 3 ++- test/shell/lvresize-raid10.sh | 3 ++- test/shell/lvresize-rounding.sh | 3 ++- test/shell/lvresize-thin-external-origin.sh | 3 ++- test/shell/lvresize-thin-metadata.sh | 3 ++- test/shell/lvresize-usage.sh | 3 ++- test/shell/lvs-cache.sh | 3 ++- test/shell/mda-rollback.sh | 3 ++- test/shell/mdata-strings.sh | 3 ++- test/shell/metadata-balance.sh | 3 ++- test/shell/metadata-dirs.sh | 3 ++- test/shell/metadata.sh | 3 ++- test/shell/mirror-names.sh | 5 +++-- test/shell/mirror-vgreduce-removemissing.sh | 3 ++- test/shell/name-mangling.sh | 3 ++- test/shell/nomda-missing.sh | 2 +- test/shell/nomda-restoremissing.sh | 3 ++- test/shell/orphan-ondisk.sh | 3 ++- test/shell/pool-labels.sh | 3 ++- test/shell/process-each-duplicate-pvs.sh | 3 ++- test/shell/process-each-duplicate-vgnames.sh | 3 ++- test/shell/process-each-lv.sh | 3 ++- test/shell/process-each-pv-nomda-all.sh | 3 ++- test/shell/process-each-pv-nomda.sh | 3 ++- test/shell/process-each-pv.sh | 3 ++- test/shell/process-each-pvresize.sh | 3 ++- test/shell/process-each-vg.sh | 3 ++- test/shell/process-each-vgreduce.sh | 3 ++- test/shell/profiles-cache.sh | 3 ++- test/shell/profiles-thin.sh | 2 +- test/shell/profiles.sh | 2 +- test/shell/pv-check-dev-size.sh | 3 ++- test/shell/pv-duplicate-uuid.sh | 3 ++- test/shell/pv-duplicate.sh | 3 ++- test/shell/pv-ext-flags.sh | 3 ++- test/shell/pv-ext-update.sh | 3 ++- test/shell/pv-min-size.sh | 3 ++- test/shell/pv-range-overflow.sh | 3 ++- test/shell/pvchange-usage.sh | 3 ++- test/shell/pvcreate-bootloaderarea.sh | 3 ++- test/shell/pvcreate-ff.sh | 3 ++- test/shell/pvcreate-metadata0.sh | 3 ++- test/shell/pvcreate-operation-md.sh | 3 ++- test/shell/pvcreate-operation.sh | 2 ++ test/shell/pvcreate-restore.sh | 3 ++- test/shell/pvcreate-usage.sh | 3 ++- test/shell/pvmove-abort-all.sh | 3 ++- test/shell/pvmove-abort.sh | 3 ++- test/shell/pvmove-all-segtypes.sh | 3 ++- test/shell/pvmove-background.sh | 3 ++- test/shell/pvmove-basic.sh | 3 ++- test/shell/pvmove-cache-segtypes.sh | 3 ++- test/shell/pvmove-raid-segtypes.sh | 3 ++- test/shell/pvmove-restart.sh | 3 ++- test/shell/pvmove-resume-1.sh | 3 ++- test/shell/pvmove-resume-2.sh | 3 ++- test/shell/pvmove-resume-multiseg.sh | 3 ++- test/shell/pvmove-thin-segtypes.sh | 3 ++- test/shell/pvremove-thin.sh | 3 ++- test/shell/pvremove-usage.sh | 3 ++- test/shell/pvremove-warnings.sh | 2 ++ test/shell/pvresize-mdas.sh | 3 ++- test/shell/read-ahead.sh | 3 ++- test/shell/relative-sign-options.sh | 3 ++- test/shell/report-fields.sh | 3 ++- test/shell/report-hidden.sh | 3 ++- test/shell/select-report.sh | 3 ++- test/shell/select-tools-thin.sh | 3 ++- test/shell/select-tools.sh | 3 ++- test/shell/snapshot-autoumount-dmeventd.sh | 3 ++- test/shell/snapshot-cluster.sh | 3 ++- test/shell/snapshot-lvm1.sh | 3 ++- test/shell/snapshot-maxsize.sh | 3 ++- test/shell/snapshot-merge-stack.sh | 3 ++- test/shell/snapshot-merge.sh | 3 ++- test/shell/snapshot-reactivate.sh | 3 ++- test/shell/snapshot-remove-dmsetup.sh | 3 ++- test/shell/snapshot-rename.sh | 3 ++- test/shell/snapshot-usage-exa.sh | 3 ++- test/shell/snapshot-usage.sh | 3 ++- test/shell/snapshots-of-mirrors.sh | 3 ++- test/shell/stray-device-node.sh | 3 ++- test/shell/system_id.sh | 3 ++- test/shell/tags.sh | 3 ++- test/shell/test-partition.sh | 3 ++- test/shell/thin-autoumount-dmeventd.sh | 3 ++- test/shell/thin-defaults.sh | 3 ++- test/shell/thin-dmeventd-warns.sh | 2 +- test/shell/thin-flags.sh | 3 ++- test/shell/thin-foreign-dmeventd.sh | 2 +- test/shell/thin-large.sh | 3 ++- test/shell/thin-merge.sh | 3 ++- test/shell/thin-overprovisioning.sh | 3 ++- test/shell/thin-resize-match.sh | 3 ++- test/shell/thin-restore.sh | 3 ++- test/shell/thin-vglock.sh | 3 ++- test/shell/thin-volume-list.sh | 3 ++- test/shell/topology-support.sh | 3 ++- test/shell/unknown-segment.sh | 3 ++- test/shell/unlost-pv.sh | 3 ++- test/shell/vg-check-devs-used.sh | 3 ++- test/shell/vg-name-from-env.sh | 3 ++- test/shell/vgcfgbackup-lvm1.sh | 3 ++- test/shell/vgcfgbackup-usage.sh | 3 ++- test/shell/vgchange-many.sh | 3 ++- test/shell/vgchange-maxlv.sh | 3 ++- test/shell/vgchange-partial.sh | 3 ++- test/shell/vgchange-sysinit.sh | 3 ++- test/shell/vgchange-usage.sh | 3 ++- test/shell/vgck.sh | 3 ++- test/shell/vgcreate-many-pvs.sh | 3 ++- test/shell/vgcreate-usage.sh | 3 ++- test/shell/vgextend-restoremissing.sh | 3 ++- test/shell/vgextend-usage.sh | 3 ++- test/shell/vgimportclone.sh | 3 ++- test/shell/vgmerge-operation.sh | 3 ++- test/shell/vgmerge-usage.sh | 3 ++- test/shell/vgreduce-removemissing-snapshot.sh | 3 ++- test/shell/vgreduce-usage.sh | 3 ++- test/shell/vgremove-corrupt-vg.sh | 3 ++- test/shell/vgrename-usage.sh | 3 ++- test/shell/vgsplit-operation.sh | 3 ++- test/shell/vgsplit-raid.sh | 3 ++- test/shell/vgsplit-stacked.sh | 3 ++- test/shell/vgsplit-thin.sh | 3 ++- test/shell/vgsplit-usage.sh | 3 ++- test/shell/zz-lvmlockd-dlm-remove.sh | 3 ++- test/shell/zz-lvmlockd-sanlock-remove.sh | 3 ++- 275 files changed, 538 insertions(+), 273 deletions(-) diff --git a/test/shell/000-basic.sh b/test/shell/000-basic.sh index da84f3e8f..2222456e0 100644 --- a/test/shell/000-basic.sh +++ b/test/shell/000-basic.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2009-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/aa-lvmlockd-dlm-prepare.sh b/test/shell/aa-lvmlockd-dlm-prepare.sh index bc30bb719..7e3700f74 100644 --- a/test/shell/aa-lvmlockd-dlm-prepare.sh +++ b/test/shell/aa-lvmlockd-dlm-prepare.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/aa-lvmlockd-sanlock-prepare.sh b/test/shell/aa-lvmlockd-sanlock-prepare.sh index 75b94e78c..b897bbd86 100644 --- a/test/shell/aa-lvmlockd-sanlock-prepare.sh +++ b/test/shell/aa-lvmlockd-sanlock-prepare.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/activate-minor.sh b/test/shell/activate-minor.sh index bb78c7f20..187a4aaa9 100644 --- a/test/shell/activate-minor.sh +++ b/test/shell/activate-minor.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/activate-missing-segment.sh b/test/shell/activate-missing-segment.sh index 7f26e1159..777a1bf04 100644 --- a/test/shell/activate-missing-segment.sh +++ b/test/shell/activate-missing-segment.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/activate-missing.sh b/test/shell/activate-missing.sh index 3e3447142..6b6211534 100644 --- a/test/shell/activate-missing.sh +++ b/test/shell/activate-missing.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/activate-partial.sh b/test/shell/activate-partial.sh index e686ec6e8..be21d7ca0 100644 --- a/test/shell/activate-partial.sh +++ b/test/shell/activate-partial.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/activation-skip.sh b/test/shell/activation-skip.sh index 8935286d0..7aca44c6d 100644 --- a/test/shell/activation-skip.sh +++ b/test/shell/activation-skip.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/backup-read-only.sh b/test/shell/backup-read-only.sh index 178c49b98..f7033cb57 100644 --- a/test/shell/backup-read-only.sh +++ b/test/shell/backup-read-only.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/cache-metadata2.sh b/test/shell/cache-metadata2.sh index acf6d0dc0..a7586f7b6 100644 --- a/test/shell/cache-metadata2.sh +++ b/test/shell/cache-metadata2.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/clvmd-restart.sh b/test/shell/clvmd-restart.sh index e6067f5c5..e3c9d5f5f 100644 --- a/test/shell/clvmd-restart.sh +++ b/test/shell/clvmd-restart.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/covercmd.sh b/test/shell/covercmd.sh index 00b178182..dbf8205c2 100644 --- a/test/shell/covercmd.sh +++ b/test/shell/covercmd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/discards-thin.sh b/test/shell/discards-thin.sh index 9a66dc8f7..2efb06071 100644 --- a/test/shell/discards-thin.sh +++ b/test/shell/discards-thin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/dmeventd-restart.sh b/test/shell/dmeventd-restart.sh index a5caf98c5..87e3e40df 100644 --- a/test/shell/dmeventd-restart.sh +++ b/test/shell/dmeventd-restart.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/dmsetup-keyring.sh b/test/shell/dmsetup-keyring.sh index b30897578..0f730a9fd 100644 --- a/test/shell/dmsetup-keyring.sh +++ b/test/shell/dmsetup-keyring.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/dmstats-create.sh b/test/shell/dmstats-create.sh index a52cd34f5..c16f26f70 100644 --- a/test/shell/dmstats-create.sh +++ b/test/shell/dmstats-create.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/dmstats-report.sh b/test/shell/dmstats-report.sh index 56f913d14..031214901 100644 --- a/test/shell/dmstats-report.sh +++ b/test/shell/dmstats-report.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/dumpconfig.sh b/test/shell/dumpconfig.sh index d62d28c83..062def90c 100644 --- a/test/shell/dumpconfig.sh +++ b/test/shell/dumpconfig.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/error-usage.sh b/test/shell/error-usage.sh index 062b71ec1..d75eacfd8 100644 --- a/test/shell/error-usage.sh +++ b/test/shell/error-usage.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/format-lvm1.sh b/test/shell/format-lvm1.sh index a310b124a..b88579fd9 100644 --- a/test/shell/format-lvm1.sh +++ b/test/shell/format-lvm1.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/fsadm-renamed.sh b/test/shell/fsadm-renamed.sh index 9f3cd3c90..ed7b7436f 100644 --- a/test/shell/fsadm-renamed.sh +++ b/test/shell/fsadm-renamed.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/fsadm.sh b/test/shell/fsadm.sh index 6eff24a04..351a179ba 100644 --- a/test/shell/fsadm.sh +++ b/test/shell/fsadm.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/inconsistent-metadata.sh b/test/shell/inconsistent-metadata.sh index 808616b27..cbb8412c5 100644 --- a/test/shell/inconsistent-metadata.sh +++ b/test/shell/inconsistent-metadata.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/listings.sh b/test/shell/listings.sh index 0eac8f603..8de94904a 100644 --- a/test/shell/listings.sh +++ b/test/shell/listings.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lock-blocking.sh b/test/shell/lock-blocking.sh index c144a8e53..85f7a1015 100644 --- a/test/shell/lock-blocking.sh +++ b/test/shell/lock-blocking.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lock-parallel.sh b/test/shell/lock-parallel.sh index 6a565a937..89fb397e8 100644 --- a/test/shell/lock-parallel.sh +++ b/test/shell/lock-parallel.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/losetup-partscan.sh b/test/shell/losetup-partscan.sh index 1a3c70aec..df32b61f6 100644 --- a/test/shell/losetup-partscan.sh +++ b/test/shell/losetup-partscan.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lv-ancestry.sh b/test/shell/lv-ancestry.sh index 0e0cc798a..e32dfa305 100644 --- a/test/shell/lv-ancestry.sh +++ b/test/shell/lv-ancestry.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvchange-cache-mode.sh b/test/shell/lvchange-cache-mode.sh index f7b108144..2bb8641d4 100644 --- a/test/shell/lvchange-cache-mode.sh +++ b/test/shell/lvchange-cache-mode.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-cache-old.sh b/test/shell/lvchange-cache-old.sh index 018d3846d..cb7915d93 100644 --- a/test/shell/lvchange-cache-old.sh +++ b/test/shell/lvchange-cache-old.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-cache-syncaction-raid.sh b/test/shell/lvchange-cache-syncaction-raid.sh index 6a4546e62..206c750d2 100644 --- a/test/shell/lvchange-cache-syncaction-raid.sh +++ b/test/shell/lvchange-cache-syncaction-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-cache.sh b/test/shell/lvchange-cache.sh index 385fcf46b..73ad6c0a0 100644 --- a/test/shell/lvchange-cache.sh +++ b/test/shell/lvchange-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-mirror.sh b/test/shell/lvchange-mirror.sh index 8875f0572..8120dbea3 100644 --- a/test/shell/lvchange-mirror.sh +++ b/test/shell/lvchange-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-partial-raid10.sh b/test/shell/lvchange-partial-raid10.sh index 125129b1c..83193b276 100644 --- a/test/shell/lvchange-partial-raid10.sh +++ b/test/shell/lvchange-partial-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-partial.sh b/test/shell/lvchange-partial.sh index 63ede229b..60b2b50bf 100644 --- a/test/shell/lvchange-partial.sh +++ b/test/shell/lvchange-partial.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-raid-transient-failures.sh b/test/shell/lvchange-raid-transient-failures.sh index 3082cd628..a478204cd 100644 --- a/test/shell/lvchange-raid-transient-failures.sh +++ b/test/shell/lvchange-raid-transient-failures.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-raid.sh b/test/shell/lvchange-raid.sh index 1677d4fb9..2fe011ab0 100644 --- a/test/shell/lvchange-raid.sh +++ b/test/shell/lvchange-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-raid1-writemostly.sh b/test/shell/lvchange-raid1-writemostly.sh index 2466de3d5..32e84db79 100644 --- a/test/shell/lvchange-raid1-writemostly.sh +++ b/test/shell/lvchange-raid1-writemostly.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-raid10.sh b/test/shell/lvchange-raid10.sh index 4c0a1c228..a29ade9b8 100644 --- a/test/shell/lvchange-raid10.sh +++ b/test/shell/lvchange-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-raid456.sh b/test/shell/lvchange-raid456.sh index 5cdcbdea9..ea4b4e274 100644 --- a/test/shell/lvchange-raid456.sh +++ b/test/shell/lvchange-raid456.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-rebuild-raid.sh b/test/shell/lvchange-rebuild-raid.sh index 4460a5c76..d7fa7e716 100644 --- a/test/shell/lvchange-rebuild-raid.sh +++ b/test/shell/lvchange-rebuild-raid.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-syncaction-raid.sh b/test/shell/lvchange-syncaction-raid.sh index 7d7d3ed5c..84961ed89 100644 --- a/test/shell/lvchange-syncaction-raid.sh +++ b/test/shell/lvchange-syncaction-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvchange-thin.sh b/test/shell/lvchange-thin.sh index e45f7c832..99215d96e 100644 --- a/test/shell/lvchange-thin.sh +++ b/test/shell/lvchange-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache-abort.sh b/test/shell/lvconvert-cache-abort.sh index 65a67878c..18b509e1e 100644 --- a/test/shell/lvconvert-cache-abort.sh +++ b/test/shell/lvconvert-cache-abort.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache-chunks.sh b/test/shell/lvconvert-cache-chunks.sh index a525a9518..404672271 100644 --- a/test/shell/lvconvert-cache-chunks.sh +++ b/test/shell/lvconvert-cache-chunks.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016-2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache-raid.sh b/test/shell/lvconvert-cache-raid.sh index e2fbf94d2..9e4f55c27 100644 --- a/test/shell/lvconvert-cache-raid.sh +++ b/test/shell/lvconvert-cache-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache-smq.sh b/test/shell/lvconvert-cache-smq.sh index 19daebf44..e329aee98 100644 --- a/test/shell/lvconvert-cache-smq.sh +++ b/test/shell/lvconvert-cache-smq.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache-snapshot.sh b/test/shell/lvconvert-cache-snapshot.sh index 8f0ab5345..ac9d3dd00 100644 --- a/test/shell/lvconvert-cache-snapshot.sh +++ b/test/shell/lvconvert-cache-snapshot.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-cache-thin.sh b/test/shell/lvconvert-cache-thin.sh index 864ea7e3e..e1d38b866 100644 --- a/test/shell/lvconvert-cache-thin.sh +++ b/test/shell/lvconvert-cache-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-cache.sh b/test/shell/lvconvert-cache.sh index b1ac15434..df72f4f3d 100644 --- a/test/shell/lvconvert-cache.sh +++ b/test/shell/lvconvert-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-basic-0.sh b/test/shell/lvconvert-mirror-basic-0.sh index 8476f6e12..02f32a952 100644 --- a/test/shell/lvconvert-mirror-basic-0.sh +++ b/test/shell/lvconvert-mirror-basic-0.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-basic-1.sh b/test/shell/lvconvert-mirror-basic-1.sh index e707b1c02..76d131516 100644 --- a/test/shell/lvconvert-mirror-basic-1.sh +++ b/test/shell/lvconvert-mirror-basic-1.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-basic-2.sh b/test/shell/lvconvert-mirror-basic-2.sh index 3e717f39e..eb6de87e5 100644 --- a/test/shell/lvconvert-mirror-basic-2.sh +++ b/test/shell/lvconvert-mirror-basic-2.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-basic-3.sh b/test/shell/lvconvert-mirror-basic-3.sh index 6a4f2892a..fa4b3cd91 100644 --- a/test/shell/lvconvert-mirror-basic-3.sh +++ b/test/shell/lvconvert-mirror-basic-3.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-basic.sh b/test/shell/lvconvert-mirror-basic.sh index c32b5c1a4..0b73d8c23 100644 --- a/test/shell/lvconvert-mirror-basic.sh +++ b/test/shell/lvconvert-mirror-basic.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror-updown.sh b/test/shell/lvconvert-mirror-updown.sh index 13c77ceed..b419f2e94 100644 --- a/test/shell/lvconvert-mirror-updown.sh +++ b/test/shell/lvconvert-mirror-updown.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-mirror.sh b/test/shell/lvconvert-mirror.sh index 810d13eaf..4fc80ac88 100644 --- a/test/shell/lvconvert-mirror.sh +++ b/test/shell/lvconvert-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-allocation.sh b/test/shell/lvconvert-raid-allocation.sh index 1a768b691..0d8c794a4 100644 --- a/test/shell/lvconvert-raid-allocation.sh +++ b/test/shell/lvconvert-raid-allocation.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-regionsize.sh b/test/shell/lvconvert-raid-regionsize.sh index d2c8a546f..4763babdf 100644 --- a/test/shell/lvconvert-raid-regionsize.sh +++ b/test/shell/lvconvert-raid-regionsize.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-reshape-linear_to_striped.sh b/test/shell/lvconvert-raid-reshape-linear_to_striped.sh index 0b589b460..0be8777b3 100644 --- a/test/shell/lvconvert-raid-reshape-linear_to_striped.sh +++ b/test/shell/lvconvert-raid-reshape-linear_to_striped.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-reshape-striped_to_linear.sh b/test/shell/lvconvert-raid-reshape-striped_to_linear.sh index d34ca5e9d..ba90f5749 100644 --- a/test/shell/lvconvert-raid-reshape-striped_to_linear.sh +++ b/test/shell/lvconvert-raid-reshape-striped_to_linear.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-reshape.sh b/test/shell/lvconvert-raid-reshape.sh index e4ade3fe7..73d136552 100644 --- a/test/shell/lvconvert-raid-reshape.sh +++ b/test/shell/lvconvert-raid-reshape.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-status-validation.sh b/test/shell/lvconvert-raid-status-validation.sh index e860f9dae..fb5912f81 100644 --- a/test/shell/lvconvert-raid-status-validation.sh +++ b/test/shell/lvconvert-raid-status-validation.sh @@ -1,4 +1,15 @@ #!/usr/bin/env bash + +# Copyright (C) 2017 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 +# of the GNU General Public License v.2. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA + ####################################################################### # This series of tests is meant to validate the correctness of # 'dmsetup status' for RAID LVs - especially during various sync action diff --git a/test/shell/lvconvert-raid-takeover-alloc-failure.sh b/test/shell/lvconvert-raid-takeover-alloc-failure.sh index cf926a1ad..969ce27dd 100644 --- a/test/shell/lvconvert-raid-takeover-alloc-failure.sh +++ b/test/shell/lvconvert-raid-takeover-alloc-failure.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-takeover-thin.sh b/test/shell/lvconvert-raid-takeover-thin.sh index 647b13308..580c1be35 100644 --- a/test/shell/lvconvert-raid-takeover-thin.sh +++ b/test/shell/lvconvert-raid-takeover-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid-takeover.sh b/test/shell/lvconvert-raid-takeover.sh index 8e3ffb166..c9b45e969 100644 --- a/test/shell/lvconvert-raid-takeover.sh +++ b/test/shell/lvconvert-raid-takeover.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016,2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid.sh b/test/shell/lvconvert-raid.sh index e74800371..a110ac5c2 100644 --- a/test/shell/lvconvert-raid.sh +++ b/test/shell/lvconvert-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid10.sh b/test/shell/lvconvert-raid10.sh index e41b5bf03..ec27fcad1 100644 --- a/test/shell/lvconvert-raid10.sh +++ b/test/shell/lvconvert-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-raid456.sh b/test/shell/lvconvert-raid456.sh index 8c87a03f8..0e3f378ad 100644 --- a/test/shell/lvconvert-raid456.sh +++ b/test/shell/lvconvert-raid456.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-cache.sh b/test/shell/lvconvert-repair-cache.sh index f70981372..c68fdbdfa 100644 --- a/test/shell/lvconvert-repair-cache.sh +++ b/test/shell/lvconvert-repair-cache.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-repair-dmeventd.sh b/test/shell/lvconvert-repair-dmeventd.sh index 2856227e2..b7efda25d 100644 --- a/test/shell/lvconvert-repair-dmeventd.sh +++ b/test/shell/lvconvert-repair-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-mirror.sh b/test/shell/lvconvert-repair-mirror.sh index a4d3a73ca..dcd8d078c 100644 --- a/test/shell/lvconvert-repair-mirror.sh +++ b/test/shell/lvconvert-repair-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-policy.sh b/test/shell/lvconvert-repair-policy.sh index 2ef5f1be9..15d4e7ca0 100644 --- a/test/shell/lvconvert-repair-policy.sh +++ b/test/shell/lvconvert-repair-policy.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-raid-dmeventd.sh b/test/shell/lvconvert-repair-raid-dmeventd.sh index 5b5bdcc15..f08b3da96 100644 --- a/test/shell/lvconvert-repair-raid-dmeventd.sh +++ b/test/shell/lvconvert-repair-raid-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh index db38e98bb..93b7db259 100644 --- a/test/shell/lvconvert-repair-raid.sh +++ b/test/shell/lvconvert-repair-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013-2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-replace.sh b/test/shell/lvconvert-repair-replace.sh index 9444417de..4a55969c1 100644 --- a/test/shell/lvconvert-repair-replace.sh +++ b/test/shell/lvconvert-repair-replace.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-snapshot.sh b/test/shell/lvconvert-repair-snapshot.sh index 269559d69..8e66664be 100644 --- a/test/shell/lvconvert-repair-snapshot.sh +++ b/test/shell/lvconvert-repair-snapshot.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-thin-raid.sh b/test/shell/lvconvert-repair-thin-raid.sh index 7afceef27..3d8964792 100644 --- a/test/shell/lvconvert-repair-thin-raid.sh +++ b/test/shell/lvconvert-repair-thin-raid.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-repair-thin.sh b/test/shell/lvconvert-repair-thin.sh index 89308945a..9b94cbfd2 100644 --- a/test/shell/lvconvert-repair-thin.sh +++ b/test/shell/lvconvert-repair-thin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2013-2014 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-repair-transient-dmeventd.sh b/test/shell/lvconvert-repair-transient-dmeventd.sh index 59c764850..7b2dd3fa3 100644 --- a/test/shell/lvconvert-repair-transient-dmeventd.sh +++ b/test/shell/lvconvert-repair-transient-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair-transient.sh b/test/shell/lvconvert-repair-transient.sh index 947ae452f..082f7f2d9 100644 --- a/test/shell/lvconvert-repair-transient.sh +++ b/test/shell/lvconvert-repair-transient.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-repair.sh b/test/shell/lvconvert-repair.sh index 43a7ee9ce..e0916e740 100644 --- a/test/shell/lvconvert-repair.sh +++ b/test/shell/lvconvert-repair.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvconvert-snapshot.sh b/test/shell/lvconvert-snapshot.sh index 6e73563fe..d63cc6728 100644 --- a/test/shell/lvconvert-snapshot.sh +++ b/test/shell/lvconvert-snapshot.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-thin-external-cache.sh b/test/shell/lvconvert-thin-external-cache.sh index c4d7d617c..465ce52ad 100644 --- a/test/shell/lvconvert-thin-external-cache.sh +++ b/test/shell/lvconvert-thin-external-cache.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-thin-external.sh b/test/shell/lvconvert-thin-external.sh index 470e87c94..333a7189d 100644 --- a/test/shell/lvconvert-thin-external.sh +++ b/test/shell/lvconvert-thin-external.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-thin-raid.sh b/test/shell/lvconvert-thin-raid.sh index b243a553d..8efafbce3 100644 --- a/test/shell/lvconvert-thin-raid.sh +++ b/test/shell/lvconvert-thin-raid.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2014-2017 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-thin.sh b/test/shell/lvconvert-thin.sh index 992a1f261..6960cd88d 100644 --- a/test/shell/lvconvert-thin.sh +++ b/test/shell/lvconvert-thin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvconvert-twostep.sh b/test/shell/lvconvert-twostep.sh index 9c5475673..cbdf8624d 100644 --- a/test/shell/lvconvert-twostep.sh +++ b/test/shell/lvconvert-twostep.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-cache-fail.sh b/test/shell/lvcreate-cache-fail.sh index 2ff486539..dc7c53a02 100644 --- a/test/shell/lvcreate-cache-fail.sh +++ b/test/shell/lvcreate-cache-fail.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-cache-raid.sh b/test/shell/lvcreate-cache-raid.sh index df7be6b2d..d540d4e4e 100644 --- a/test/shell/lvcreate-cache-raid.sh +++ b/test/shell/lvcreate-cache-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-cache-snapshot.sh b/test/shell/lvcreate-cache-snapshot.sh index 6b6ef2c6d..c1be6a2da 100644 --- a/test/shell/lvcreate-cache-snapshot.sh +++ b/test/shell/lvcreate-cache-snapshot.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-cache.sh b/test/shell/lvcreate-cache.sh index f19965a60..8edbeb2e0 100644 --- a/test/shell/lvcreate-cache.sh +++ b/test/shell/lvcreate-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-large-raid.sh b/test/shell/lvcreate-large-raid.sh index 27015b702..5562eadf1 100644 --- a/test/shell/lvcreate-large-raid.sh +++ b/test/shell/lvcreate-large-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012,2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-large-raid10.sh b/test/shell/lvcreate-large-raid10.sh index 33af63022..a46be374f 100644 --- a/test/shell/lvcreate-large-raid10.sh +++ b/test/shell/lvcreate-large-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012,2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-large.sh b/test/shell/lvcreate-large.sh index 6fc4c5e83..473b0edb3 100644 --- a/test/shell/lvcreate-large.sh +++ b/test/shell/lvcreate-large.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-mirror.sh b/test/shell/lvcreate-mirror.sh index 0e9bd218e..e9ffd3eb2 100644 --- a/test/shell/lvcreate-mirror.sh +++ b/test/shell/lvcreate-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-missing.sh b/test/shell/lvcreate-missing.sh index c8add08a2..fda62c6fc 100644 --- a/test/shell/lvcreate-missing.sh +++ b/test/shell/lvcreate-missing.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-operation.sh b/test/shell/lvcreate-operation.sh index 9062d5d78..7094a610d 100644 --- a/test/shell/lvcreate-operation.sh +++ b/test/shell/lvcreate-operation.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-pvtags.sh b/test/shell/lvcreate-pvtags.sh index 59c2d7563..ef6c42225 100644 --- a/test/shell/lvcreate-pvtags.sh +++ b/test/shell/lvcreate-pvtags.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-raid-nosync.sh b/test/shell/lvcreate-raid-nosync.sh index 9bbc22641..c0e23bb25 100644 --- a/test/shell/lvcreate-raid-nosync.sh +++ b/test/shell/lvcreate-raid-nosync.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-raid.sh b/test/shell/lvcreate-raid.sh index 61032c996..eedc3d13c 100644 --- a/test/shell/lvcreate-raid.sh +++ b/test/shell/lvcreate-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-raid10.sh b/test/shell/lvcreate-raid10.sh index be2bd45cf..4bb785d9e 100644 --- a/test/shell/lvcreate-raid10.sh +++ b/test/shell/lvcreate-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-repair.sh b/test/shell/lvcreate-repair.sh index f3be28a22..456788dee 100644 --- a/test/shell/lvcreate-repair.sh +++ b/test/shell/lvcreate-repair.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-signature-wiping.sh b/test/shell/lvcreate-signature-wiping.sh index 669983298..d70d85af2 100644 --- a/test/shell/lvcreate-signature-wiping.sh +++ b/test/shell/lvcreate-signature-wiping.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-small-snap.sh b/test/shell/lvcreate-small-snap.sh index d7b510486..be44dce21 100644 --- a/test/shell/lvcreate-small-snap.sh +++ b/test/shell/lvcreate-small-snap.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-striped-mirror.sh b/test/shell/lvcreate-striped-mirror.sh index 35d8b05de..eb40bfad3 100644 --- a/test/shell/lvcreate-striped-mirror.sh +++ b/test/shell/lvcreate-striped-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvcreate-thin-big.sh b/test/shell/lvcreate-thin-big.sh index 235eead8f..c6c4a19e5 100644 --- a/test/shell/lvcreate-thin-big.sh +++ b/test/shell/lvcreate-thin-big.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-thin-external-size.sh b/test/shell/lvcreate-thin-external-size.sh index 9a2859164..d26f5905d 100644 --- a/test/shell/lvcreate-thin-external-size.sh +++ b/test/shell/lvcreate-thin-external-size.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-thin-external.sh b/test/shell/lvcreate-thin-external.sh index 8a10c181c..a24136edd 100644 --- a/test/shell/lvcreate-thin-external.sh +++ b/test/shell/lvcreate-thin-external.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2013-2014 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-thin-power2.sh b/test/shell/lvcreate-thin-power2.sh index 797bced8b..3c39d5925 100644 --- a/test/shell/lvcreate-thin-power2.sh +++ b/test/shell/lvcreate-thin-power2.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-thin-snap.sh b/test/shell/lvcreate-thin-snap.sh index da02641fe..2b4ddc4ae 100644 --- a/test/shell/lvcreate-thin-snap.sh +++ b/test/shell/lvcreate-thin-snap.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh index 3fb1e737c..1b7c2386e 100644 --- a/test/shell/lvcreate-thin.sh +++ b/test/shell/lvcreate-thin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2011-2014 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/lvcreate-usage.sh b/test/shell/lvcreate-usage.sh index f7b470435..edae91885 100644 --- a/test/shell/lvcreate-usage.sh +++ b/test/shell/lvcreate-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-percent-extents.sh b/test/shell/lvextend-percent-extents.sh index 83e5994b7..2a807fa6a 100644 --- a/test/shell/lvextend-percent-extents.sh +++ b/test/shell/lvextend-percent-extents.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-snapshot-dmeventd.sh b/test/shell/lvextend-snapshot-dmeventd.sh index 61651288b..0f9b0a902 100644 --- a/test/shell/lvextend-snapshot-dmeventd.sh +++ b/test/shell/lvextend-snapshot-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-snapshot-policy.sh b/test/shell/lvextend-snapshot-policy.sh index 236c3f63f..47def9374 100644 --- a/test/shell/lvextend-snapshot-policy.sh +++ b/test/shell/lvextend-snapshot-policy.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-thin-data-dmeventd.sh b/test/shell/lvextend-thin-data-dmeventd.sh index ceb9088d2..b5b21eb68 100644 --- a/test/shell/lvextend-thin-data-dmeventd.sh +++ b/test/shell/lvextend-thin-data-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-thin-full.sh b/test/shell/lvextend-thin-full.sh index 3bafad4b0..e23eca8ad 100644 --- a/test/shell/lvextend-thin-full.sh +++ b/test/shell/lvextend-thin-full.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-thin-metadata-dmeventd.sh b/test/shell/lvextend-thin-metadata-dmeventd.sh index 6d2760086..eacacb36d 100644 --- a/test/shell/lvextend-thin-metadata-dmeventd.sh +++ b/test/shell/lvextend-thin-metadata-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-thin-raid.sh b/test/shell/lvextend-thin-raid.sh index 1688ffbf4..a623bb8d6 100644 --- a/test/shell/lvextend-thin-raid.sh +++ b/test/shell/lvextend-thin-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvextend-thin.sh b/test/shell/lvextend-thin.sh index c5bb2cff2..82d898381 100644 --- a/test/shell/lvextend-thin.sh +++ b/test/shell/lvextend-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvm-init.sh b/test/shell/lvm-init.sh index a5435fe2f..92e050be6 100644 --- a/test/shell/lvm-init.sh +++ b/test/shell/lvm-init.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvm1-basic.sh b/test/shell/lvm1-basic.sh index 166d5bfdf..93509c4cb 100644 --- a/test/shell/lvm1-basic.sh +++ b/test/shell/lvm1-basic.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmcache-exercise.sh b/test/shell/lvmcache-exercise.sh index af85b904b..ee1a9e386 100644 --- a/test/shell/lvmcache-exercise.sh +++ b/test/shell/lvmcache-exercise.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-ambiguous.sh b/test/shell/lvmetad-ambiguous.sh index 52f2928d6..71677c886 100644 --- a/test/shell/lvmetad-ambiguous.sh +++ b/test/shell/lvmetad-ambiguous.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-autoshutdown.sh b/test/shell/lvmetad-autoshutdown.sh index 4491e0836..c8a5c0c77 100644 --- a/test/shell/lvmetad-autoshutdown.sh +++ b/test/shell/lvmetad-autoshutdown.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-client-filter.sh b/test/shell/lvmetad-client-filter.sh index 51d25ff90..095099b3a 100644 --- a/test/shell/lvmetad-client-filter.sh +++ b/test/shell/lvmetad-client-filter.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-disabled.sh b/test/shell/lvmetad-disabled.sh index 28ccdac4d..cba73d682 100644 --- a/test/shell/lvmetad-disabled.sh +++ b/test/shell/lvmetad-disabled.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-dump.sh b/test/shell/lvmetad-dump.sh index 49cf9b769..ecda3ed56 100644 --- a/test/shell/lvmetad-dump.sh +++ b/test/shell/lvmetad-dump.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-lvscan-cache.sh b/test/shell/lvmetad-lvscan-cache.sh index 3b6528e9f..28b62fd78 100644 --- a/test/shell/lvmetad-lvscan-cache.sh +++ b/test/shell/lvmetad-lvscan-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-no-cluster.sh b/test/shell/lvmetad-no-cluster.sh index d894114d6..d5eb23bc4 100644 --- a/test/shell/lvmetad-no-cluster.sh +++ b/test/shell/lvmetad-no-cluster.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-override.sh b/test/shell/lvmetad-override.sh index c71a0c657..91367ff04 100644 --- a/test/shell/lvmetad-override.sh +++ b/test/shell/lvmetad-override.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvs.sh b/test/shell/lvmetad-pvs.sh index 2f51944de..ba52d8a8a 100644 --- a/test/shell/lvmetad-pvs.sh +++ b/test/shell/lvmetad-pvs.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-autoactivation-polling.sh b/test/shell/lvmetad-pvscan-autoactivation-polling.sh index 3f8e01184..46c454b7c 100644 --- a/test/shell/lvmetad-pvscan-autoactivation-polling.sh +++ b/test/shell/lvmetad-pvscan-autoactivation-polling.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-cache.sh b/test/shell/lvmetad-pvscan-cache.sh index c0b7f4378..e57030d34 100644 --- a/test/shell/lvmetad-pvscan-cache.sh +++ b/test/shell/lvmetad-pvscan-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-filter.sh b/test/shell/lvmetad-pvscan-filter.sh index cb3fcdc99..677b35f05 100644 --- a/test/shell/lvmetad-pvscan-filter.sh +++ b/test/shell/lvmetad-pvscan-filter.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-md.sh b/test/shell/lvmetad-pvscan-md.sh index f5b91d7f8..4d4dae2a4 100644 --- a/test/shell/lvmetad-pvscan-md.sh +++ b/test/shell/lvmetad-pvscan-md.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-nomda-bg.sh b/test/shell/lvmetad-pvscan-nomda-bg.sh index 443f8b61f..351e44613 100644 --- a/test/shell/lvmetad-pvscan-nomda-bg.sh +++ b/test/shell/lvmetad-pvscan-nomda-bg.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-pvscan-nomda.sh b/test/shell/lvmetad-pvscan-nomda.sh index fe04b00d2..c28d9849c 100644 --- a/test/shell/lvmetad-pvscan-nomda.sh +++ b/test/shell/lvmetad-pvscan-nomda.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-restart.sh b/test/shell/lvmetad-restart.sh index e2f2666a2..2e49f75b5 100644 --- a/test/shell/lvmetad-restart.sh +++ b/test/shell/lvmetad-restart.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-sysinit.sh b/test/shell/lvmetad-sysinit.sh index 33f80fed4..8116e51bf 100644 --- a/test/shell/lvmetad-sysinit.sh +++ b/test/shell/lvmetad-sysinit.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmetad-test.sh b/test/shell/lvmetad-test.sh index 2fe06bac2..0daf1e443 100644 --- a/test/shell/lvmetad-test.sh +++ b/test/shell/lvmetad-test.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmlockd-hello-world.sh b/test/shell/lvmlockd-hello-world.sh index 01e1c5616..e0a150573 100644 --- a/test/shell/lvmlockd-hello-world.sh +++ b/test/shell/lvmlockd-hello-world.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvmlockd-lv-types.sh b/test/shell/lvmlockd-lv-types.sh index 8e12776fd..b82f21b78 100644 --- a/test/shell/lvmlockd-lv-types.sh +++ b/test/shell/lvmlockd-lv-types.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvrename-cache-thin.sh b/test/shell/lvrename-cache-thin.sh index 33d0e342f..eb1b72672 100644 --- a/test/shell/lvrename-cache-thin.sh +++ b/test/shell/lvrename-cache-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-full.sh b/test/shell/lvresize-full.sh index 3eef11aea..b518bb751 100644 --- a/test/shell/lvresize-full.sh +++ b/test/shell/lvresize-full.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-mirror.sh b/test/shell/lvresize-mirror.sh index cc86a35a7..8489b63df 100644 --- a/test/shell/lvresize-mirror.sh +++ b/test/shell/lvresize-mirror.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-raid.sh b/test/shell/lvresize-raid.sh index 691946da8..51a20c49e 100644 --- a/test/shell/lvresize-raid.sh +++ b/test/shell/lvresize-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012,2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-raid10.sh b/test/shell/lvresize-raid10.sh index dc6e2fb54..5f400acf0 100644 --- a/test/shell/lvresize-raid10.sh +++ b/test/shell/lvresize-raid10.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-rounding.sh b/test/shell/lvresize-rounding.sh index 1f18ee579..754127b0b 100644 --- a/test/shell/lvresize-rounding.sh +++ b/test/shell/lvresize-rounding.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-thin-external-origin.sh b/test/shell/lvresize-thin-external-origin.sh index 686da3959..aa5e4bfbc 100644 --- a/test/shell/lvresize-thin-external-origin.sh +++ b/test/shell/lvresize-thin-external-origin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-thin-metadata.sh b/test/shell/lvresize-thin-metadata.sh index a08fb4070..54142ce23 100644 --- a/test/shell/lvresize-thin-metadata.sh +++ b/test/shell/lvresize-thin-metadata.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvresize-usage.sh b/test/shell/lvresize-usage.sh index 30cb8d53e..23f73aed6 100644 --- a/test/shell/lvresize-usage.sh +++ b/test/shell/lvresize-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/lvs-cache.sh b/test/shell/lvs-cache.sh index f2463b8e3..84ac02628 100644 --- a/test/shell/lvs-cache.sh +++ b/test/shell/lvs-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/mda-rollback.sh b/test/shell/mda-rollback.sh index 0fd095a58..dbfdc7d51 100644 --- a/test/shell/mda-rollback.sh +++ b/test/shell/mda-rollback.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/mdata-strings.sh b/test/shell/mdata-strings.sh index 5d22953de..4fcb89cea 100644 --- a/test/shell/mdata-strings.sh +++ b/test/shell/mdata-strings.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/metadata-balance.sh b/test/shell/metadata-balance.sh index 29e9135ae..3855b8824 100644 --- a/test/shell/metadata-balance.sh +++ b/test/shell/metadata-balance.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/metadata-dirs.sh b/test/shell/metadata-dirs.sh index 525f77fcc..3c21ac8fd 100644 --- a/test/shell/metadata-dirs.sh +++ b/test/shell/metadata-dirs.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/metadata.sh b/test/shell/metadata.sh index 8ed541494..aac4f12a0 100644 --- a/test/shell/metadata.sh +++ b/test/shell/metadata.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/mirror-names.sh b/test/shell/mirror-names.sh index 1b9cecea1..f3bfe410f 100644 --- a/test/shell/mirror-names.sh +++ b/test/shell/mirror-names.sh @@ -1,5 +1,6 @@ -#!/bin/sh -# Copyright (C) 2007-2012 Red Hat, Inc. All rights reserved. +#!/usr/bin/env bash + +# Copyright (C) 2007-2017 Red Hat, Inc. All rights reserved. # Copyright (C) 2007-2008 NEC Corporation # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/mirror-vgreduce-removemissing.sh b/test/shell/mirror-vgreduce-removemissing.sh index eb51af6eb..ac7303fe3 100644 --- a/test/shell/mirror-vgreduce-removemissing.sh +++ b/test/shell/mirror-vgreduce-removemissing.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # Copyright (C) 2007 NEC Corporation # diff --git a/test/shell/name-mangling.sh b/test/shell/name-mangling.sh index 049064e67..80e7b6cc2 100644 --- a/test/shell/name-mangling.sh +++ b/test/shell/name-mangling.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/nomda-missing.sh b/test/shell/nomda-missing.sh index 9fe4bec7b..bb92fe752 100644 --- a/test/shell/nomda-missing.sh +++ b/test/shell/nomda-missing.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/nomda-restoremissing.sh b/test/shell/nomda-restoremissing.sh index 811637b31..a14f58dfb 100644 --- a/test/shell/nomda-restoremissing.sh +++ b/test/shell/nomda-restoremissing.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/orphan-ondisk.sh b/test/shell/orphan-ondisk.sh index 0d46cd681..4c8dabd06 100644 --- a/test/shell/orphan-ondisk.sh +++ b/test/shell/orphan-ondisk.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pool-labels.sh b/test/shell/pool-labels.sh index 86f5fec5c..e7de6fcfc 100644 --- a/test/shell/pool-labels.sh +++ b/test/shell/pool-labels.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-duplicate-pvs.sh b/test/shell/process-each-duplicate-pvs.sh index fcd8da125..98dd285da 100644 --- a/test/shell/process-each-duplicate-pvs.sh +++ b/test/shell/process-each-duplicate-pvs.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-duplicate-vgnames.sh b/test/shell/process-each-duplicate-vgnames.sh index 532c669cd..ea79c9195 100644 --- a/test/shell/process-each-duplicate-vgnames.sh +++ b/test/shell/process-each-duplicate-vgnames.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-lv.sh b/test/shell/process-each-lv.sh index 0fd08bafa..14cb110e3 100644 --- a/test/shell/process-each-lv.sh +++ b/test/shell/process-each-lv.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-pv-nomda-all.sh b/test/shell/process-each-pv-nomda-all.sh index 7d9cc1426..020f83114 100644 --- a/test/shell/process-each-pv-nomda-all.sh +++ b/test/shell/process-each-pv-nomda-all.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-pv-nomda.sh b/test/shell/process-each-pv-nomda.sh index d48da2616..8f09129ff 100644 --- a/test/shell/process-each-pv-nomda.sh +++ b/test/shell/process-each-pv-nomda.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-pv.sh b/test/shell/process-each-pv.sh index 68429b223..beb7a6c87 100644 --- a/test/shell/process-each-pv.sh +++ b/test/shell/process-each-pv.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-pvresize.sh b/test/shell/process-each-pvresize.sh index e1e4af37a..26b65d405 100644 --- a/test/shell/process-each-pvresize.sh +++ b/test/shell/process-each-pvresize.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-vg.sh b/test/shell/process-each-vg.sh index 6d7b71689..569cf08f5 100644 --- a/test/shell/process-each-vg.sh +++ b/test/shell/process-each-vg.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/process-each-vgreduce.sh b/test/shell/process-each-vgreduce.sh index e9f024a75..3cec6c8dd 100644 --- a/test/shell/process-each-vgreduce.sh +++ b/test/shell/process-each-vgreduce.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/profiles-cache.sh b/test/shell/profiles-cache.sh index f2acadb17..17651501a 100644 --- a/test/shell/profiles-cache.sh +++ b/test/shell/profiles-cache.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/profiles-thin.sh b/test/shell/profiles-thin.sh index d97bf5967..a3a8b0577 100644 --- a/test/shell/profiles-thin.sh +++ b/test/shell/profiles-thin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/profiles.sh b/test/shell/profiles.sh index 508f6dbf8..923baec24 100644 --- a/test/shell/profiles.sh +++ b/test/shell/profiles.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/pv-check-dev-size.sh b/test/shell/pv-check-dev-size.sh index a3013c4c2..58207c3b9 100644 --- a/test/shell/pv-check-dev-size.sh +++ b/test/shell/pv-check-dev-size.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-duplicate-uuid.sh b/test/shell/pv-duplicate-uuid.sh index c846a5047..d1664a4c7 100644 --- a/test/shell/pv-duplicate-uuid.sh +++ b/test/shell/pv-duplicate-uuid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-duplicate.sh b/test/shell/pv-duplicate.sh index 9e78ae8de..133f032d5 100644 --- a/test/shell/pv-duplicate.sh +++ b/test/shell/pv-duplicate.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-ext-flags.sh b/test/shell/pv-ext-flags.sh index 3e0f3c38a..cc21eab32 100644 --- a/test/shell/pv-ext-flags.sh +++ b/test/shell/pv-ext-flags.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-ext-update.sh b/test/shell/pv-ext-update.sh index eb4e7a995..cfaece7f6 100644 --- a/test/shell/pv-ext-update.sh +++ b/test/shell/pv-ext-update.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-min-size.sh b/test/shell/pv-min-size.sh index 611fb3f80..3d3d5e9a6 100644 --- a/test/shell/pv-min-size.sh +++ b/test/shell/pv-min-size.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pv-range-overflow.sh b/test/shell/pv-range-overflow.sh index 2d80f4ec1..08401db2e 100644 --- a/test/shell/pv-range-overflow.sh +++ b/test/shell/pv-range-overflow.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvchange-usage.sh b/test/shell/pvchange-usage.sh index 0a0a9c1f7..383986e9b 100644 --- a/test/shell/pvchange-usage.sh +++ b/test/shell/pvchange-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-bootloaderarea.sh b/test/shell/pvcreate-bootloaderarea.sh index e0f6d2f94..258c4cb38 100644 --- a/test/shell/pvcreate-bootloaderarea.sh +++ b/test/shell/pvcreate-bootloaderarea.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-ff.sh b/test/shell/pvcreate-ff.sh index a259de768..13b05fc1a 100644 --- a/test/shell/pvcreate-ff.sh +++ b/test/shell/pvcreate-ff.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-metadata0.sh b/test/shell/pvcreate-metadata0.sh index cfa98e1ec..ce29a5f47 100644 --- a/test/shell/pvcreate-metadata0.sh +++ b/test/shell/pvcreate-metadata0.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-operation-md.sh b/test/shell/pvcreate-operation-md.sh index 0e7835f73..447b15e63 100644 --- a/test/shell/pvcreate-operation-md.sh +++ b/test/shell/pvcreate-operation-md.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2009-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-operation.sh b/test/shell/pvcreate-operation.sh index c5c9f8037..ad80375fb 100644 --- a/test/shell/pvcreate-operation.sh +++ b/test/shell/pvcreate-operation.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-restore.sh b/test/shell/pvcreate-restore.sh index 7a4a57cb0..d0b46eb2b 100644 --- a/test/shell/pvcreate-restore.sh +++ b/test/shell/pvcreate-restore.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvcreate-usage.sh b/test/shell/pvcreate-usage.sh index 0a913d422..97342ba14 100644 --- a/test/shell/pvcreate-usage.sh +++ b/test/shell/pvcreate-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-abort-all.sh b/test/shell/pvmove-abort-all.sh index 77f81081b..7cb549ffc 100644 --- a/test/shell/pvmove-abort-all.sh +++ b/test/shell/pvmove-abort-all.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-abort.sh b/test/shell/pvmove-abort.sh index 1438ab682..218864c69 100644 --- a/test/shell/pvmove-abort.sh +++ b/test/shell/pvmove-abort.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-all-segtypes.sh b/test/shell/pvmove-all-segtypes.sh index 6a34ecf3d..e10586eea 100644 --- a/test/shell/pvmove-all-segtypes.sh +++ b/test/shell/pvmove-all-segtypes.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-background.sh b/test/shell/pvmove-background.sh index 26970d481..6a158e453 100644 --- a/test/shell/pvmove-background.sh +++ b/test/shell/pvmove-background.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-basic.sh b/test/shell/pvmove-basic.sh index 581597b67..1cc55952f 100644 --- a/test/shell/pvmove-basic.sh +++ b/test/shell/pvmove-basic.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # Copyright (C) 2007 NEC Corporation # diff --git a/test/shell/pvmove-cache-segtypes.sh b/test/shell/pvmove-cache-segtypes.sh index bd624bc47..f95ba72f4 100644 --- a/test/shell/pvmove-cache-segtypes.sh +++ b/test/shell/pvmove-cache-segtypes.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-raid-segtypes.sh b/test/shell/pvmove-raid-segtypes.sh index 0025ba22c..c11210d6e 100644 --- a/test/shell/pvmove-raid-segtypes.sh +++ b/test/shell/pvmove-raid-segtypes.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-restart.sh b/test/shell/pvmove-restart.sh index e7ed78bf6..14806cbd5 100644 --- a/test/shell/pvmove-restart.sh +++ b/test/shell/pvmove-restart.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-resume-1.sh b/test/shell/pvmove-resume-1.sh index b13e00db7..1f797d4cb 100644 --- a/test/shell/pvmove-resume-1.sh +++ b/test/shell/pvmove-resume-1.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-resume-2.sh b/test/shell/pvmove-resume-2.sh index 47f4f2236..73c42c8a4 100644 --- a/test/shell/pvmove-resume-2.sh +++ b/test/shell/pvmove-resume-2.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-resume-multiseg.sh b/test/shell/pvmove-resume-multiseg.sh index 7783c8371..273793960 100644 --- a/test/shell/pvmove-resume-multiseg.sh +++ b/test/shell/pvmove-resume-multiseg.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvmove-thin-segtypes.sh b/test/shell/pvmove-thin-segtypes.sh index e8fa26b8c..9a480c1fe 100644 --- a/test/shell/pvmove-thin-segtypes.sh +++ b/test/shell/pvmove-thin-segtypes.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvremove-thin.sh b/test/shell/pvremove-thin.sh index 5ae0e0adf..9bb9d448b 100644 --- a/test/shell/pvremove-thin.sh +++ b/test/shell/pvremove-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvremove-usage.sh b/test/shell/pvremove-usage.sh index e0f51bf1c..be51ce16f 100644 --- a/test/shell/pvremove-usage.sh +++ b/test/shell/pvremove-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvremove-warnings.sh b/test/shell/pvremove-warnings.sh index 4fb5eba90..57a376c23 100644 --- a/test/shell/pvremove-warnings.sh +++ b/test/shell/pvremove-warnings.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/pvresize-mdas.sh b/test/shell/pvresize-mdas.sh index c2571f1df..3bed8bc03 100644 --- a/test/shell/pvresize-mdas.sh +++ b/test/shell/pvresize-mdas.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/read-ahead.sh b/test/shell/read-ahead.sh index a16cb4051..f21c52cb6 100644 --- a/test/shell/read-ahead.sh +++ b/test/shell/read-ahead.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/relative-sign-options.sh b/test/shell/relative-sign-options.sh index 3bf076a0c..2db281ad4 100644 --- a/test/shell/relative-sign-options.sh +++ b/test/shell/relative-sign-options.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/report-fields.sh b/test/shell/report-fields.sh index 590119870..0473a33f5 100644 --- a/test/shell/report-fields.sh +++ b/test/shell/report-fields.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/report-hidden.sh b/test/shell/report-hidden.sh index 260744444..fb70e607e 100644 --- a/test/shell/report-hidden.sh +++ b/test/shell/report-hidden.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/select-report.sh b/test/shell/select-report.sh index aad38576e..314e20724 100644 --- a/test/shell/select-report.sh +++ b/test/shell/select-report.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/select-tools-thin.sh b/test/shell/select-tools-thin.sh index b870191fa..aa43ef3b7 100644 --- a/test/shell/select-tools-thin.sh +++ b/test/shell/select-tools-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/select-tools.sh b/test/shell/select-tools.sh index 3485f85e5..2b28599ca 100644 --- a/test/shell/select-tools.sh +++ b/test/shell/select-tools.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-autoumount-dmeventd.sh b/test/shell/snapshot-autoumount-dmeventd.sh index 8019281c5..5ef3969c5 100644 --- a/test/shell/snapshot-autoumount-dmeventd.sh +++ b/test/shell/snapshot-autoumount-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2010-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-cluster.sh b/test/shell/snapshot-cluster.sh index a4d5fb9af..d6459d85f 100644 --- a/test/shell/snapshot-cluster.sh +++ b/test/shell/snapshot-cluster.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-lvm1.sh b/test/shell/snapshot-lvm1.sh index bc12113a8..3a078b58a 100644 --- a/test/shell/snapshot-lvm1.sh +++ b/test/shell/snapshot-lvm1.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-maxsize.sh b/test/shell/snapshot-maxsize.sh index e8e08b583..51d9d6d7b 100644 --- a/test/shell/snapshot-maxsize.sh +++ b/test/shell/snapshot-maxsize.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-merge-stack.sh b/test/shell/snapshot-merge-stack.sh index 0f733bd4a..6eca2a06a 100644 --- a/test/shell/snapshot-merge-stack.sh +++ b/test/shell/snapshot-merge-stack.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-merge.sh b/test/shell/snapshot-merge.sh index 07756d533..9b2d663b6 100644 --- a/test/shell/snapshot-merge.sh +++ b/test/shell/snapshot-merge.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-reactivate.sh b/test/shell/snapshot-reactivate.sh index 5adf1f803..fb6973a88 100644 --- a/test/shell/snapshot-reactivate.sh +++ b/test/shell/snapshot-reactivate.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-remove-dmsetup.sh b/test/shell/snapshot-remove-dmsetup.sh index 05bf72077..a7925d5d5 100644 --- a/test/shell/snapshot-remove-dmsetup.sh +++ b/test/shell/snapshot-remove-dmsetup.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-rename.sh b/test/shell/snapshot-rename.sh index 978debe1f..a7eb54cc9 100644 --- a/test/shell/snapshot-rename.sh +++ b/test/shell/snapshot-rename.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-usage-exa.sh b/test/shell/snapshot-usage-exa.sh index edc1e5032..6c4cb7ee7 100644 --- a/test/shell/snapshot-usage-exa.sh +++ b/test/shell/snapshot-usage-exa.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshot-usage.sh b/test/shell/snapshot-usage.sh index a751f1afd..3661022bd 100644 --- a/test/shell/snapshot-usage.sh +++ b/test/shell/snapshot-usage.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/snapshots-of-mirrors.sh b/test/shell/snapshots-of-mirrors.sh index 49cd47659..a23cc58b9 100644 --- a/test/shell/snapshots-of-mirrors.sh +++ b/test/shell/snapshots-of-mirrors.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/stray-device-node.sh b/test/shell/stray-device-node.sh index d4d9740e1..162913b9c 100644 --- a/test/shell/stray-device-node.sh +++ b/test/shell/stray-device-node.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/system_id.sh b/test/shell/system_id.sh index 5d13547d4..9e53a260b 100644 --- a/test/shell/system_id.sh +++ b/test/shell/system_id.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/tags.sh b/test/shell/tags.sh index 3abf8569f..2d8731eee 100644 --- a/test/shell/tags.sh +++ b/test/shell/tags.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/test-partition.sh b/test/shell/test-partition.sh index 9e9366bd9..bcbf9f10a 100644 --- a/test/shell/test-partition.sh +++ b/test/shell/test-partition.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-autoumount-dmeventd.sh b/test/shell/thin-autoumount-dmeventd.sh index b0bbda3f6..cee2f4cb9 100644 --- a/test/shell/thin-autoumount-dmeventd.sh +++ b/test/shell/thin-autoumount-dmeventd.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-defaults.sh b/test/shell/thin-defaults.sh index 7e26bb7e2..89c0fa459 100644 --- a/test/shell/thin-defaults.sh +++ b/test/shell/thin-defaults.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-dmeventd-warns.sh b/test/shell/thin-dmeventd-warns.sh index cbab5dfc4..29d3c4f0e 100644 --- a/test/shell/thin-dmeventd-warns.sh +++ b/test/shell/thin-dmeventd-warns.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/thin-flags.sh b/test/shell/thin-flags.sh index 7d8755360..12b1b75dd 100644 --- a/test/shell/thin-flags.sh +++ b/test/shell/thin-flags.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-foreign-dmeventd.sh b/test/shell/thin-foreign-dmeventd.sh index f78fcf88a..4e373ad06 100644 --- a/test/shell/thin-foreign-dmeventd.sh +++ b/test/shell/thin-foreign-dmeventd.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # diff --git a/test/shell/thin-large.sh b/test/shell/thin-large.sh index da5a7ec31..b1cf29a15 100644 --- a/test/shell/thin-large.sh +++ b/test/shell/thin-large.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2017 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-merge.sh b/test/shell/thin-merge.sh index 9955aaba9..7baaa55e0 100644 --- a/test/shell/thin-merge.sh +++ b/test/shell/thin-merge.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-overprovisioning.sh b/test/shell/thin-overprovisioning.sh index 07c74cc51..85d8577a1 100644 --- a/test/shell/thin-overprovisioning.sh +++ b/test/shell/thin-overprovisioning.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-resize-match.sh b/test/shell/thin-resize-match.sh index 46b4531af..b9bec9cf8 100644 --- a/test/shell/thin-resize-match.sh +++ b/test/shell/thin-resize-match.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-restore.sh b/test/shell/thin-restore.sh index 270bae62d..afcbd7f91 100644 --- a/test/shell/thin-restore.sh +++ b/test/shell/thin-restore.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-vglock.sh b/test/shell/thin-vglock.sh index 40f3adf2e..9664e30bc 100644 --- a/test/shell/thin-vglock.sh +++ b/test/shell/thin-vglock.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014-2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/thin-volume-list.sh b/test/shell/thin-volume-list.sh index 315353cce..f4fb0a3fa 100644 --- a/test/shell/thin-volume-list.sh +++ b/test/shell/thin-volume-list.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/topology-support.sh b/test/shell/topology-support.sh index 90e3d0d05..1cb0f492c 100644 --- a/test/shell/topology-support.sh +++ b/test/shell/topology-support.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/unknown-segment.sh b/test/shell/unknown-segment.sh index 20fc920d5..cadbe1919 100644 --- a/test/shell/unknown-segment.sh +++ b/test/shell/unknown-segment.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2009 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/unlost-pv.sh b/test/shell/unlost-pv.sh index f23b01851..982e34085 100644 --- a/test/shell/unlost-pv.sh +++ b/test/shell/unlost-pv.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vg-check-devs-used.sh b/test/shell/vg-check-devs-used.sh index 37f8f43c2..7d4481204 100644 --- a/test/shell/vg-check-devs-used.sh +++ b/test/shell/vg-check-devs-used.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2016 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vg-name-from-env.sh b/test/shell/vg-name-from-env.sh index be94406e0..9ba6b4592 100644 --- a/test/shell/vg-name-from-env.sh +++ b/test/shell/vg-name-from-env.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgcfgbackup-lvm1.sh b/test/shell/vgcfgbackup-lvm1.sh index f3c7ab438..644f9b364 100644 --- a/test/shell/vgcfgbackup-lvm1.sh +++ b/test/shell/vgcfgbackup-lvm1.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgcfgbackup-usage.sh b/test/shell/vgcfgbackup-usage.sh index f92304903..6183490cd 100644 --- a/test/shell/vgcfgbackup-usage.sh +++ b/test/shell/vgcfgbackup-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgchange-many.sh b/test/shell/vgchange-many.sh index f4fca785c..72dcc0c19 100644 --- a/test/shell/vgchange-many.sh +++ b/test/shell/vgchange-many.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgchange-maxlv.sh b/test/shell/vgchange-maxlv.sh index 1509444ae..455dbfe0f 100644 --- a/test/shell/vgchange-maxlv.sh +++ b/test/shell/vgchange-maxlv.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgchange-partial.sh b/test/shell/vgchange-partial.sh index 4311b599b..b77ad1ae6 100644 --- a/test/shell/vgchange-partial.sh +++ b/test/shell/vgchange-partial.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + # Copyright (C) 2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgchange-sysinit.sh b/test/shell/vgchange-sysinit.sh index 4941ed69e..ec0a6cdb4 100644 --- a/test/shell/vgchange-sysinit.sh +++ b/test/shell/vgchange-sysinit.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgchange-usage.sh b/test/shell/vgchange-usage.sh index 44e0fd9df..152014205 100644 --- a/test/shell/vgchange-usage.sh +++ b/test/shell/vgchange-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgck.sh b/test/shell/vgck.sh index 6092f12aa..2f3fba4c1 100644 --- a/test/shell/vgck.sh +++ b/test/shell/vgck.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgcreate-many-pvs.sh b/test/shell/vgcreate-many-pvs.sh index 1052200a7..a75b3f3e6 100644 --- a/test/shell/vgcreate-many-pvs.sh +++ b/test/shell/vgcreate-many-pvs.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2015 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgcreate-usage.sh b/test/shell/vgcreate-usage.sh index 416126881..16117c346 100644 --- a/test/shell/vgcreate-usage.sh +++ b/test/shell/vgcreate-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgextend-restoremissing.sh b/test/shell/vgextend-restoremissing.sh index d94eb5c27..196d82f0c 100644 --- a/test/shell/vgextend-restoremissing.sh +++ b/test/shell/vgextend-restoremissing.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgextend-usage.sh b/test/shell/vgextend-usage.sh index a470f7156..a3bfa2a69 100644 --- a/test/shell/vgextend-usage.sh +++ b/test/shell/vgextend-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgimportclone.sh b/test/shell/vgimportclone.sh index d7b7c9633..f97c6df8c 100644 --- a/test/shell/vgimportclone.sh +++ b/test/shell/vgimportclone.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010-2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgmerge-operation.sh b/test/shell/vgmerge-operation.sh index 605d2c4fb..21889e95d 100644 --- a/test/shell/vgmerge-operation.sh +++ b/test/shell/vgmerge-operation.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgmerge-usage.sh b/test/shell/vgmerge-usage.sh index 7369ad93b..fa9bb19d1 100644 --- a/test/shell/vgmerge-usage.sh +++ b/test/shell/vgmerge-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgreduce-removemissing-snapshot.sh b/test/shell/vgreduce-removemissing-snapshot.sh index 4ab60a799..8ddb3d945 100644 --- a/test/shell/vgreduce-removemissing-snapshot.sh +++ b/test/shell/vgreduce-removemissing-snapshot.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgreduce-usage.sh b/test/shell/vgreduce-usage.sh index 37a27a085..d721514aa 100644 --- a/test/shell/vgreduce-usage.sh +++ b/test/shell/vgreduce-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgremove-corrupt-vg.sh b/test/shell/vgremove-corrupt-vg.sh index 4d325d91d..edc911b0d 100644 --- a/test/shell/vgremove-corrupt-vg.sh +++ b/test/shell/vgremove-corrupt-vg.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgrename-usage.sh b/test/shell/vgrename-usage.sh index c052f972d..3b6945346 100644 --- a/test/shell/vgrename-usage.sh +++ b/test/shell/vgrename-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgsplit-operation.sh b/test/shell/vgsplit-operation.sh index d3c81d965..5dff173dd 100644 --- a/test/shell/vgsplit-operation.sh +++ b/test/shell/vgsplit-operation.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgsplit-raid.sh b/test/shell/vgsplit-raid.sh index 8db307cca..dc2ef5af0 100644 --- a/test/shell/vgsplit-raid.sh +++ b/test/shell/vgsplit-raid.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgsplit-stacked.sh b/test/shell/vgsplit-stacked.sh index b09e336ff..1388e9144 100644 --- a/test/shell/vgsplit-stacked.sh +++ b/test/shell/vgsplit-stacked.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2010 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgsplit-thin.sh b/test/shell/vgsplit-thin.sh index 6fc825d85..4a7142652 100644 --- a/test/shell/vgsplit-thin.sh +++ b/test/shell/vgsplit-thin.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2013 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/vgsplit-usage.sh b/test/shell/vgsplit-usage.sh index 0ca89d9bd..f49e13a5c 100644 --- a/test/shell/vgsplit-usage.sh +++ b/test/shell/vgsplit-usage.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2007-2011 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/zz-lvmlockd-dlm-remove.sh b/test/shell/zz-lvmlockd-dlm-remove.sh index 05263142a..c7dfb1dbc 100644 --- a/test/shell/zz-lvmlockd-dlm-remove.sh +++ b/test/shell/zz-lvmlockd-dlm-remove.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, diff --git a/test/shell/zz-lvmlockd-sanlock-remove.sh b/test/shell/zz-lvmlockd-sanlock-remove.sh index b01952ad5..081ee69c2 100644 --- a/test/shell/zz-lvmlockd-sanlock-remove.sh +++ b/test/shell/zz-lvmlockd-sanlock-remove.sh @@ -1,4 +1,5 @@ -#!/bin/sh +#!/usr/bin/env bash + # Copyright (C) 2008-2012 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, -- 2.43.5