lvm2-2.03.27-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/sbin/blkdeactivate:168:11: warning[SC2154]: mnt is referenced but not assigned.
#  166|   
#  167|   device_umount_one() {
#  168|-> 	test -z "$mnt" && return 0
#  169|   
#  170|   	if test -z "${SKIP_UMOUNT_LIST["$mnt"]}" -a "$DO_UMOUNT" -eq "1"; then

Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/sbin/blkdeactivate:171:35: warning[SC2154]: name is referenced but not assigned (did you mean 'xname'?).
#  169|   
#  170|   	if test -z "${SKIP_UMOUNT_LIST["$mnt"]}" -a "$DO_UMOUNT" -eq "1"; then
#  171|-> 		echo -n "  [UMOUNT]: unmounting $name ($kname) mounted on $mnt... "
#  172|   		if eval "$UMOUNT" $UMOUNT_OPTS "$(printf "%s" "$mnt")" "$OUT" "$ERR"; then
#  173|   			echo "done"

Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/sbin/blkdeactivate:187:8: warning[SC2154]: devtype is referenced but not assigned.
#  185|   
#  186|   device_umount() {
#  187|-> 	test "$devtype" != "lvm" && test "${kname:0:3}" != "dm-" \
#  188|             && test "${kname:0:2}" != "md" && return 0
#  189|   

Error: SHELLCHECK_WARNING (CWE-88): [#def4]
/usr/sbin/fsadm:135:2: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#  133|   	fi
#  134|   	verbose "Executing" "$@"
#  135|-> 	$@
#  136|   }
#  137|   

Error: SHELLCHECK_WARNING (CWE-88): [#def5]
/usr/sbin/fsadm:140:2: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#  138|   # Accept as success also return code 1 with fsck
#  139|   accept_0_1() {
#  140|-> 	$@
#  141|   	local ret="$?"
#  142|   	test "$ret" -eq 1 || return "$ret"

Error: SHELLCHECK_WARNING (CWE-140): [#def6]
/usr/sbin/lvm_import_vdo:200:19: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  198|   	local initial_status
#  199|   
#  200|-> 	initial_status=( $("$DMSETUP" status "$VDO_DM_SNAPSHOT_NAME") )
#  201|   	"$DMSETUP" reload "$VDO_DM_SNAPSHOT_NAME" --table "$(snapshot_target_line_ "$1" "$VDO_SNAPSHOT_LOOP" -merge)"
#  202|   	"$DMSETUP" suspend "$VDO_DM_SNAPSHOT_NAME" || {

Error: SHELLCHECK_WARNING (CWE-140): [#def7]
/usr/sbin/lvm_import_vdo:218:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  216|   	# FIXME: Recovery when something prevents merging is hard
#  217|   	for i in $(seq 1 20) ; do
#  218|-> 		status=( $("$DMSETUP" status "$VDO_DM_SNAPSHOT_NAME") )
#  219|   		# Check if merging is finished
#  220|   		[ "${status[3]%/*}" = "${status[4]}" ] && break

Error: SHELLCHECK_WARNING (CWE-563): [#def8]
/usr/sbin/lvm_import_vdo:464:21: warning[SC2034]: vdo_non_converted appears unused. Verify use (or export if used externally).
#  462|   		# trim leading spaces
#  463|   		case "$(echo $line)" in
#  464|-> 		"Non converted"*) vdo_non_converted=1 ;;
#  465|   		"Length"*) vdo_length=${line##* = } ;;
#  466|   		"Conversion completed"*)

Error: SHELLCHECK_WARNING (CWE-563): [#def9]
/usr/sbin/lvm_import_vdo:465:14: warning[SC2034]: vdo_length appears unused. Verify use (or export if used externally).
#  463|   		case "$(echo $line)" in
#  464|   		"Non converted"*) vdo_non_converted=1 ;;
#  465|-> 		"Length"*) vdo_length=${line##* = } ;;
#  466|   		"Conversion completed"*)
#  467|   			   vdo_aligned=${line##*aligned on }

Error: SHELLCHECK_WARNING (CWE-571): [#def10]
/usr/sbin/lvm_import_vdo:535:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  533|   	# For systems using devicesfile add 'merged' PV into system.devices.
#  534|   	# Bypassing use of --valuesonly to keep compatibility with older lvm.
#  535|-> 	local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true)
#  536|   	[ "${usedev#*=}" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
#  537|   

Error: SHELLCHECK_WARNING: [#def11]
/usr/sbin/lvmdump:126:8: warning[SC2294]: eval negates the benefit of arrays. Drop eval to preserve whitespace/symbols (or eval as string).
#  124|   log() {
#  125|   	echo "$@" >> "$log"
#  126|-> 	eval "$@"
#  127|   }
#  128|   

Error: SHELLCHECK_WARNING (CWE-252): [#def12]
/usr/sbin/lvmdump:360:2: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  358|   
#  359|   if test -z "$userdir"; then
#  360|-> 	cd "$HOME"
#  361|   	"$TAR" czf "$lvm_dump" "$dirbase" 2>/dev/null
#  362|   	"$RM" -rf "$dir"

Error: SHELLCHECK_WARNING (CWE-563): [#def13]
/usr/share/lvm2-testsuite/api/dbustest.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_CLVMD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/share/lvm2-testsuite/api/dbustest.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_CLVMD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/share/lvm2-testsuite/api/dbustest.sh:16:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_CLVMD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def16]
/usr/share/lvm2-testsuite/lib/aux:29:35: warning[SC2154]: abs_builddir is referenced but not assigned.
#   27|   	# skip if we don't have our own daemon...
#   28|   	if test -z "${installed_testsuite+varset}"; then
#   29|-> 		(which "$1" 2>/dev/null | grep "$abs_builddir" >/dev/null ) || skip "$1 is not in executed path."
#   30|   	fi
#   31|   	rm -f debug.log strace.log

Error: SHELLCHECK_WARNING (CWE-571): [#def17]
/usr/share/lvm2-testsuite/lib/aux:36:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#   34|   create_corosync_conf() {
#   35|   	local COROSYNC_CONF="/etc/corosync/corosync.conf"
#   36|-> 	local COROSYNC_NODE=$(hostname)
#   37|   
#   38|   	if test -a "$COROSYNC_CONF"; then

Error: SHELLCHECK_WARNING (CWE-685): [#def18]
/usr/share/lvm2-testsuite/lib/aux:264:1: warning[SC2120]: lvmpolld_dump references arguments, but none are ever passed.
#  262|   }
#  263|   
#  264|-> lvmpolld_dump() {
#  265|   	(echo 'request="dump"'; echo '##') | lvmpolld_talk "$@"
#  266|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def19]
/usr/share/lvm2-testsuite/lib/aux:286:11: warning[SC2154]: abs_top_builddir is referenced but not assigned.
#  284|   	if test -z "${installed_testsuite+varset}"; then
#  285|   		# NOTE: this is always present - additional checks are needed:
#  286|-> 		daemon="$abs_top_builddir/daemons/lvmdbusd/lvmdbusd"
#  287|   		if test -x "$daemon" || chmod ugo+x "$daemon"; then
#  288|   			echo "$daemon"

Error: SHELLCHECK_WARNING (CWE-140): [#def20]
/usr/share/lvm2-testsuite/lib/aux:402:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  400|   
#  401|   	local mounts
#  402|-> 	mounts=( $(grep "$prefix" /proc/mounts | cut -d' ' -f1) ) || true
#  403|   	if test ${#mounts[@]} -gt 0; then
#  404|   		test "$stray" -eq 0 || echo "## removing stray mounted devices containing $prefix:" "${mounts[@]}"

Error: SHELLCHECK_WARNING (CWE-140): [#def21]
/usr/share/lvm2-testsuite/lib/aux:497:17: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  495|   	test "${LVM_TEST_PARALLEL:-0}" -eq 1 || test -z "$COMMON_PREFIX" || {
#  496|   		local stray_loops
#  497|-> 		stray_loops=( $(losetup -a | grep "$COMMON_PREFIX" | cut -d: -f1) ) || true
#  498|   		test ${#stray_loops[@]} -eq 0 || {
#  499|   			teardown_devs_prefixed "$COMMON_PREFIX" 1

Error: SHELLCHECK_WARNING (CWE-685): [#def22]
/usr/share/lvm2-testsuite/lib/aux:533:1: warning[SC2120]: kill_tagged_processes references arguments, but none are ever passed.
#  531|   }
#  532|   
#  533|-> kill_tagged_processes() {
#  534|   	local pid
#  535|   	local wait

Error: SHELLCHECK_WARNING (CWE-457): [#def23]
/usr/share/lvm2-testsuite/lib/aux:583:29: warning[SC2154]: vg is referenced but not assigned.
#  581|   	fi
#  582|   
#  583|-> 	dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
#  584|   		# Avoid activation of dmeventd if there is no pid
#  585|   		cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")

Error: SHELLCHECK_WARNING (CWE-457): [#def24]
/usr/share/lvm2-testsuite/lib/aux:583:33: warning[SC2154]: vg1 is referenced but not assigned.
#  581|   	fi
#  582|   
#  583|-> 	dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
#  584|   		# Avoid activation of dmeventd if there is no pid
#  585|   		cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")

Error: SHELLCHECK_WARNING (CWE-457): [#def25]
/usr/share/lvm2-testsuite/lib/aux:583:38: warning[SC2154]: vg2 is referenced but not assigned.
#  581|   	fi
#  582|   
#  583|-> 	dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
#  584|   		# Avoid activation of dmeventd if there is no pid
#  585|   		cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")

Error: SHELLCHECK_WARNING (CWE-457): [#def26]
/usr/share/lvm2-testsuite/lib/aux:583:43: warning[SC2154]: vg3 is referenced but not assigned.
#  581|   	fi
#  582|   
#  583|-> 	dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
#  584|   		# Avoid activation of dmeventd if there is no pid
#  585|   		cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")

Error: SHELLCHECK_WARNING (CWE-457): [#def27]
/usr/share/lvm2-testsuite/lib/aux:583:48: warning[SC2154]: vg4 is referenced but not assigned.
#  581|   	fi
#  582|   
#  583|-> 	dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
#  584|   		# Avoid activation of dmeventd if there is no pid
#  585|   		cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")

Error: SHELLCHECK_WARNING (CWE-563): [#def28]
/usr/share/lvm2-testsuite/lib/aux:961:11: warning[SC2034]: bs appears unused. Verify use (or export if used externally).
#  959|   		case "$1" in
#  960|   		"") ;;
#  961|-> 		"--bs") bs=$2; shift ;;
#  962|   		"--count") count=$2; shift ;;
#  963|   		"--seek") seek=$2; shift ;;

Error: SHELLCHECK_WARNING (CWE-140): [#def29]
/usr/share/lvm2-testsuite/lib/aux:992:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  990|   	# Note: returned string may possibly start with other ASCII chars
#  991|   	# a[0] is position in file,  a[1] is the actual string
#  992|-> 	a=( $(strings -t d -n 64 "$1" | grep -m 1 "$2") ) || true
#  993|   
#  994|   	test -n "${a[0]-}" || return 0

Error: SHELLCHECK_WARNING (CWE-149): [#def30]
/usr/share/lvm2-testsuite/lib/aux:1069:30: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
# 1067|   		# to use single backing device for device-mapper.
# 1068|   		if [ -n "$LVM_TEST_BACKING_DEVICE" ] && [ "$n" -le ${#BACKING_DEVICE_ARRAY[@]} ]; then
# 1069|-> 			table[i]="0 $size linear "${BACKING_DEVICE_ARRAY[i]}" $(( header_shift * 2048 ))"
# 1070|   		else
# 1071|   			table[i]="0 $size linear "$BACKING_DEV" $(( i * size + ( header_shift * 2048 ) ))"

Error: SHELLCHECK_WARNING (CWE-149): [#def31]
/usr/share/lvm2-testsuite/lib/aux:1071:30: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
# 1069|   			table[i]="0 $size linear "${BACKING_DEVICE_ARRAY[i]}" $(( header_shift * 2048 ))"
# 1070|   		else
# 1071|-> 			table[i]="0 $size linear "$BACKING_DEV" $(( i * size + ( header_shift * 2048 ) ))"
# 1072|   		fi
# 1073|   		concise[i]="$name,TEST-$name,,,${table[i]}"

Error: SHELLCHECK_WARNING (CWE-563): [#def32]
/usr/share/lvm2-testsuite/lib/aux:1324:6: warning[SC2034]: silent appears unused. Verify use (or export if used externally).
# 1322|   
# 1323|   	if test "$1" = "--silent"; then
# 1324|-> 	    silent=1
# 1325|   	    shift
# 1326|   	fi

Error: SHELLCHECK_WARNING (CWE-685): [#def33]
/usr/share/lvm2-testsuite/lib/aux:1764:1: warning[SC2120]: udev_wait references arguments, but none are ever passed.
# 1762|   }
# 1763|   
# 1764|-> udev_wait() {
# 1765|   	local arg="--timeout=15"
# 1766|   	test -n "${1-}" && arg="--exit-if-exists=$1"

Error: SHELLCHECK_WARNING (CWE-140): [#def34]
/usr/share/lvm2-testsuite/lib/aux:2059:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
# 2057|   			else
# 2058|   				# wait till wanted LV really appears
# 2059|-> 				lvid=( $(dmsetup info --noheadings -c -o uuid "$@" 2>/dev/null) ) || true
# 2060|   			fi
# 2061|   		else

Error: SHELLCHECK_WARNING (CWE-398): [#def35]
/usr/share/lvm2-testsuite/lib/aux:2079:2: warning[SC2217]: Redirecting to 'sleep', a command that doesn't read stdin. Bad quoting, wrong command or missing xargs?
# 2077|   	local sec=${3-20} # default 20sec
# 2078|   
# 2079|-> 	sleep "$sec" < "$DM_DEV_DIR/$vgname/$lvname" >/dev/null 2>&1 &
# 2080|   	SLEEP_PID=$!
# 2081|   	# wait till device is opened

Error: SHELLCHECK_WARNING (CWE-563): [#def36]
/usr/share/lvm2-testsuite/lib/aux:2109:20: warning[SC2034]: devs appears unused. Verify use (or export if used externally).
# 2107|   test "${LVM_TEST_AUX_TRACE-0}" = "0" || set -x
# 2108|   
# 2109|-> test -f DEVICES && devs=$(< DEVICES)
# 2110|   
# 2111|   if test "$1" = "dmsetup" ; then

Error: SHELLCHECK_WARNING (CWE-140): [#def37]
/usr/share/lvm2-testsuite/lib/check:77:9: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   75|   	local devs
#   76|   
#   77|-> 	devs=( $(lvdevices "$1/$2" | sort | uniq ) )
#   78|   
#   79|   	lv_on_diff_ devs[@] "$@"

Error: SHELLCHECK_WARNING (CWE-563): [#def38]
/usr/share/lvm2-testsuite/lib/check:87:2: warning[SC2034]: devs appears unused. Verify use (or export if used externally).
#   85|   
#   86|   	# Get sorted list of devices
#   87|-> 	devs=( $(get lv_tree_devices "$1" "$2") )
#   88|   
#   89|   	lv_on_diff_ devs[@] "$@"

Error: SHELLCHECK_WARNING (CWE-140): [#def39]
/usr/share/lvm2-testsuite/lib/check:87:9: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   85|   
#   86|   	# Get sorted list of devices
#   87|-> 	devs=( $(get lv_tree_devices "$1" "$2") )
#   88|   
#   89|   	lv_on_diff_ devs[@] "$@"

Error: SHELLCHECK_WARNING (CWE-140): [#def40]
/usr/share/lvm2-testsuite/lib/check:204:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  202|   	local dm_name="$1-$2"
#  203|   
#  204|-> 	a=( $(dmsetup status "$dm_name") )  || \
#  205|   		die "Unable to get sync status of $1"
#  206|   

Error: SHELLCHECK_WARNING (CWE-140): [#def41]
/usr/share/lvm2-testsuite/lib/check:208:7: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  206|   
#  207|   	if [ "${a[2]}" = "snapshot-origin" ]; then
#  208|-> 		a=( $(dmsetup status "${dm_name}-real") ) || \
#  209|   			die "Unable to get sync status of $1"
#  210|   		snap=": under snapshot"

Error: SHELLCHECK_WARNING (CWE-140): [#def42]
/usr/share/lvm2-testsuite/lib/check:443:8: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  441|   	# Ignore inconsistent raid status 0/xxxxx idle
#  442|   	for i in {100..0} ; do
#  443|-> 		st=( $(dmsetup status --noflush "$1-$2") ) || die "Unable to get status of $vg/$lv1"
#  444|   		case "${st[7]}" in
#  445|   			"resync"|"recover") [ "${st[5]}" = "$3" ] && return 0 ;;

Error: SHELLCHECK_WARNING (CWE-457): [#def43]
/usr/share/lvm2-testsuite/lib/check:443:82: warning[SC2154]: lv1 is referenced but not assigned.
#  441|   	# Ignore inconsistent raid status 0/xxxxx idle
#  442|   	for i in {100..0} ; do
#  443|-> 		st=( $(dmsetup status --noflush "$1-$2") ) || die "Unable to get status of $vg/$lv1"
#  444|   		case "${st[7]}" in
#  445|   			"resync"|"recover") [ "${st[5]}" = "$3" ] && return 0 ;;

Error: SHELLCHECK_WARNING (CWE-685): [#def44]
/usr/share/lvm2-testsuite/lib/inittest:12:1: warning[SC2120]: initskip references arguments, but none are ever passed.
#   10|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   11|   
#   12|-> initskip() {
#   13|   	test $# -eq 0 || echo "TEST SKIPPED:" "$@"
#   14|   	exit 200

Error: SHELLCHECK_WARNING (CWE-457): [#def45]
/usr/share/lvm2-testsuite/lib/lvm-wrapper:22:50: warning[SC2154]: abs_top_builddir is referenced but not assigned.
#   20|   # 'LVM_GDB=1 lvcreate -l1 $vg'
#   21|   # > run
#   22|-> test -z "$LVM_GDB" || exec gdb --readnow --args "$abs_top_builddir/tools/lvm" $CMD "$@"
#   23|   
#   24|   # Multiple level of LVM_VALGRIND support

Error: SHELLCHECK_WARNING (CWE-140): [#def46]
/usr/share/lvm2-testsuite/lib/utils:143:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  141|   		local cores=()
#  142|   		local IFS=$IFS_NL
#  143|-> 		cores=( $(find . "$(dirname "$(sysctl -n kernel.core_pattern)")" \
#  144|   			"/var/lib/systemd/coredump/" -name 'core*' -newer TESTNAME 2>/dev/null || true ) )
#  145|   

Error: SHELLCHECK_WARNING (CWE-140): [#def47]
/usr/share/lvm2-testsuite/lib/utils:265:17: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  263|   
#  264|   get_real_devs() {
#  265|-> 	REAL_DEVICES=( $(<REAL_DEVICES) )
#  266|   	export REAL_DEVICES
#  267|   }

Error: SHELLCHECK_WARNING (CWE-140): [#def48]
/usr/share/lvm2-testsuite/lib/utils:271:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  269|   get_devs() {
#  270|   	local IFS=$IFS_NL
#  271|-> 	DEVICES=( $(<DEVICES) )
#  272|   	export DEVICES
#  273|   #	local DEVS=( $(<DEVICES) )

Error: SHELLCHECK_WARNING (CWE-563): [#def49]
/usr/share/lvm2-testsuite/lib/utils:278:2: warning[SC2034]: vg appears unused. Verify use (or export if used externally).
#  276|   
#  277|   prepare_test_vars() {
#  278|-> 	vg="${PREFIX}vg"
#  279|   	lv="LV"
#  280|   

Error: SHELLCHECK_WARNING (CWE-563): [#def50]
/usr/share/lvm2-testsuite/lib/utils:279:2: warning[SC2034]: lv appears unused. Verify use (or export if used externally).
#  277|   prepare_test_vars() {
#  278|   	vg="${PREFIX}vg"
#  279|-> 	lv="LV"
#  280|   
#  281|   	for i in {1..16}; do

Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/usr/share/lvm2-testsuite/shell/000-basic.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-dlm-prepare.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Set up things to run tests with dlm'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def53]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-dlm-prepare.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Set up things to run tests with dlm'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-idm-prepare.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Set up things to run tests with idm'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def55]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-idm-prepare.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Set up things to run tests with idm'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def56]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-sanlock-prepare.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Set up things to run tests with sanlock'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/usr/share/lvm2-testsuite/shell/aa-lvmlockd-sanlock-prepare.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Set up things to run tests with sanlock'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/share/lvm2-testsuite/shell/activate-minor.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def59]
/usr/share/lvm2-testsuite/shell/activate-minor.sh:23:36: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   aux prepare_vg 2
#   23|-> lvcreate -a n --zero n -l 1 -n foo $vg
#   24|   lvchange $vg/foo -My --major=255 --minor=123
#   25|   lvchange $vg/foo -a y

Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/usr/share/lvm2-testsuite/shell/activate-missing-segment.sh:21:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   19|   
#   20|   
#   21|-> SKIP_WITH_LVMPOLLD=1
#   22|   
#   23|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def61]
/usr/share/lvm2-testsuite/shell/activate-missing-segment.sh:27:29: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux prepare_vg 2
#   26|   
#   27|-> lvcreate -l100%FREE -n span $vg
#   28|   vgchange -a n $vg
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def62]
/usr/share/lvm2-testsuite/shell/activate-missing-segment.sh:30:18: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   vgchange -a n $vg
#   29|   
#   30|-> aux disable_dev "$dev1"
#   31|   not vgchange -a y $vg
#   32|   vgchange -a y --partial $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def63]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:21:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   19|   
#   20|   
#   21|-> SKIP_WITH_LVMPOLLD=1
#   22|   
#   23|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def64]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:27:25: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux prepare_vg 4
#   26|   
#   27|-> lvcreate -l1 -n linear1 $vg "$dev1"
#   28|   lvcreate -l1 -n linear2 $vg "$dev2"
#   29|   lvcreate -l2 -n linear12 $vg "$dev1":4 "$dev2":4

Error: SHELLCHECK_WARNING (CWE-457): [#def65]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:27:30: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   aux prepare_vg 4
#   26|   
#   27|-> lvcreate -l1 -n linear1 $vg "$dev1"
#   28|   lvcreate -l1 -n linear2 $vg "$dev2"
#   29|   lvcreate -l2 -n linear12 $vg "$dev1":4 "$dev2":4

Error: SHELLCHECK_WARNING (CWE-457): [#def66]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:28:30: warning[SC2154]: dev2 is referenced but not assigned.
#   26|   
#   27|   lvcreate -l1 -n linear1 $vg "$dev1"
#   28|-> lvcreate -l1 -n linear2 $vg "$dev2"
#   29|   lvcreate -l2 -n linear12 $vg "$dev1":4 "$dev2":4
#   30|   

Error: SHELLCHECK_WARNING (CWE-457): [#def67]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:35:71: warning[SC2154]: dev3 is referenced but not assigned.
#   33|   
#   34|   lvcreate -aey -l1 --type mirror -m1 -n mirror12 --mirrorlog core $vg "$dev1" "$dev2"
#   35|-> lvcreate -aey -l1 --type mirror -m1 -n mirror123 $vg "$dev1" "$dev2" "$dev3"
#   36|   
#   37|   vgchange -a n $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/usr/share/lvm2-testsuite/shell/activate-missing.sh:80:18: warning[SC2154]: dev4 is referenced but not assigned.
#   78|   vgchange -a n $vg
#   79|   aux enable_dev "$dev3"
#   80|-> aux disable_dev "$dev4"
#   81|   vgchange -aey $vg
#   82|   not vgck $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def69]
/usr/share/lvm2-testsuite/shell/activate-partial.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def70]
/usr/share/lvm2-testsuite/shell/activate-partial.sh:20:58: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 3
#   19|   
#   20|-> lvcreate -aey --type mirror -m 1 -l 1 --nosync -n mirror $vg
#   21|   lvchange -a n $vg/mirror
#   22|   aux disable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def71]
/usr/share/lvm2-testsuite/shell/activate-partial.sh:22:18: warning[SC2154]: dev1 is referenced but not assigned.
#   20|   lvcreate -aey --type mirror -m 1 -l 1 --nosync -n mirror $vg
#   21|   lvchange -a n $vg/mirror
#   22|-> aux disable_dev "$dev1"
#   23|   
#   24|   not vgreduce --removemissing $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def72]
/usr/share/lvm2-testsuite/shell/activation-skip.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def73]
/usr/share/lvm2-testsuite/shell/activation-skip.sh:22:31: warning[SC2154]: lv1 is referenced but not assigned.
#   20|   aux prepare_vg
#   21|   
#   22|-> lvcreate -an --zero n -l 1 -n $lv1 $vg
#   23|   lvcreate -ky -K -l1 -n $lv2 $vg
#   24|   get lv_field $vg/$lv2 lv_attr | grep -- "-wi-a----k"

Error: SHELLCHECK_WARNING (CWE-457): [#def74]
/usr/share/lvm2-testsuite/shell/activation-skip.sh:22:36: warning[SC2154]: vg is referenced but not assigned.
#   20|   aux prepare_vg
#   21|   
#   22|-> lvcreate -an --zero n -l 1 -n $lv1 $vg
#   23|   lvcreate -ky -K -l1 -n $lv2 $vg
#   24|   get lv_field $vg/$lv2 lv_attr | grep -- "-wi-a----k"

Error: SHELLCHECK_WARNING (CWE-457): [#def75]
/usr/share/lvm2-testsuite/shell/activation-skip.sh:23:24: warning[SC2154]: lv2 is referenced but not assigned.
#   21|   
#   22|   lvcreate -an --zero n -l 1 -n $lv1 $vg
#   23|-> lvcreate -ky -K -l1 -n $lv2 $vg
#   24|   get lv_field $vg/$lv2 lv_attr | grep -- "-wi-a----k"
#   25|   

Error: SHELLCHECK_WARNING (CWE-563): [#def76]
/usr/share/lvm2-testsuite/shell/allow-mixed-block-sizes.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def77]
/usr/share/lvm2-testsuite/shell/allow-mixed-block-sizes.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def78]
/usr/share/lvm2-testsuite/shell/allow-mixed-block-sizes.sh:48:22: warning[SC2154]: dev1 is referenced but not assigned.
#   46|   done
#   47|   
#   48|-> aux extend_filter "a|$dev1|" "a|$dev2|"
#   49|   aux extend_devices "$dev1" "$dev2"
#   50|   

Error: SHELLCHECK_WARNING (CWE-457): [#def79]
/usr/share/lvm2-testsuite/shell/allow-mixed-block-sizes.sh:48:33: warning[SC2154]: dev2 is referenced but not assigned.
#   46|   done
#   47|   
#   48|-> aux extend_filter "a|$dev1|" "a|$dev2|"
#   49|   aux extend_devices "$dev1" "$dev2"
#   50|   

Error: SHELLCHECK_WARNING (CWE-457): [#def80]
/usr/share/lvm2-testsuite/shell/allow-mixed-block-sizes.sh:51:59: warning[SC2154]: vg is referenced but not assigned.
#   49|   aux extend_devices "$dev1" "$dev2"
#   50|   
#   51|-> not vgcreate --config 'devices/allow_mixed_block_sizes=0' $vg "$dev1" "$dev2"
#   52|   vgcreate --config 'devices/allow_mixed_block_sizes=1' $vg "$dev1" "$dev2"
#   53|   vgs --config 'devices/allow_mixed_block_sizes=1' $vg

Error: SHELLCHECK_WARNING (CWE-758): [#def81]
/usr/share/lvm2-testsuite/shell/autoactivation-metadata.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> 
#    2|   SKIP_WITH_LVMPOLLD=1
#    3|   SKIP_WITH_LVMLOCKD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/share/lvm2-testsuite/shell/autoactivation-metadata.sh:2:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    1|   
#    2|-> SKIP_WITH_LVMPOLLD=1
#    3|   SKIP_WITH_LVMLOCKD=1
#    4|   

Error: SHELLCHECK_WARNING (CWE-563): [#def83]
/usr/share/lvm2-testsuite/shell/autoactivation-metadata.sh:3:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#    1|   
#    2|   SKIP_WITH_LVMPOLLD=1
#    3|-> SKIP_WITH_LVMLOCKD=1
#    4|   
#    5|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/share/lvm2-testsuite/shell/backup-read-only.sh:14:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_CLVMD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/share/lvm2-testsuite/shell/backup-read-only.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_CLVMD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def86]
/usr/share/lvm2-testsuite/shell/cache-metadata2.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   # Until new version of cache_check tools - no integrity validation

Error: SHELLCHECK_WARNING (CWE-563): [#def87]
/usr/share/lvm2-testsuite/shell/cache-metadata2.sh:19:1: warning[SC2034]: LVM_TEST_CACHE_CHECK_CMD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   # Until new version of cache_check tools - no integrity validation
#   19|-> LVM_TEST_CACHE_CHECK_CMD=""
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def88]
/usr/share/lvm2-testsuite/shell/cache-no-discard.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Check reporting of no_discard_passdown
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   # Until new version of cache_check tools - no integrity validation

Error: SHELLCHECK_WARNING (CWE-563): [#def89]
/usr/share/lvm2-testsuite/shell/cache-no-discard.sh:18:1: warning[SC2034]: LVM_TEST_CACHE_CHECK_CMD appears unused. Verify use (or export if used externally).
#   16|   
#   17|   # Until new version of cache_check tools - no integrity validation
#   18|-> LVM_TEST_CACHE_CHECK_CMD=""
#   19|   
#   20|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def90]
/usr/share/lvm2-testsuite/shell/cache-single-options.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache options
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def91]
/usr/share/lvm2-testsuite/shell/cache-single-split.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache options
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def92]
/usr/share/lvm2-testsuite/shell/cache-single-thin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def93]
/usr/share/lvm2-testsuite/shell/cache-single-types.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache with non-linear lvs
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def94]
/usr/share/lvm2-testsuite/shell/cache-single-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def95]
/usr/share/lvm2-testsuite/shell/cachevol-cachedevice.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def96]
/usr/share/lvm2-testsuite/shell/caching-snapshot.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test snapshot on cache|writecache
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def97]
/usr/share/lvm2-testsuite/shell/component-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def98]
/usr/share/lvm2-testsuite/shell/component-mirror.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Exercise activation of mirror component devices
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def99]
/usr/share/lvm2-testsuite/shell/component-mirror.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def100]
/usr/share/lvm2-testsuite/shell/component-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def101]
/usr/share/lvm2-testsuite/shell/component-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def102]
/usr/share/lvm2-testsuite/shell/covercmd.sh:19:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   
#   19|-> SKIP_WITH_LVMPOLLD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def103]
/usr/share/lvm2-testsuite/shell/creation-time.sh:18:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   16|   # contained invalid number for creation_time
#   17|   
#   18|-> SKIP_WITH_LVMPOLLD=1
#   19|   
#   20|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def104]
/usr/share/lvm2-testsuite/shell/dev-aliases.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def105]
/usr/share/lvm2-testsuite/shell/devicesfile-backup.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file backups'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def106]
/usr/share/lvm2-testsuite/shell/devicesfile-backup.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file backups'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def107]
/usr/share/lvm2-testsuite/shell/devicesfile-basic.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def108]
/usr/share/lvm2-testsuite/shell/devicesfile-basic.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def109]
/usr/share/lvm2-testsuite/shell/devicesfile-devname.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file with devnames'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def110]
/usr/share/lvm2-testsuite/shell/devicesfile-devname.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file with devnames'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def111]
/usr/share/lvm2-testsuite/shell/devicesfile-edit.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file editing with lvmdevices'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def112]
/usr/share/lvm2-testsuite/shell/devicesfile-edit.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file editing with lvmdevices'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def113]
/usr/share/lvm2-testsuite/shell/devicesfile-edit.sh:42:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   40|           	test -n "$LOOP1" && break
#   41|   	done
#   42|-> 	for i in {1..5} ; do
#   43|           	LOOP2=$(losetup -f loopb --show || true)
#   44|           	test -n "$LOOP2" && break

Error: SHELLCHECK_WARNING (CWE-563): [#def114]
/usr/share/lvm2-testsuite/shell/devicesfile-edit.sh:119:1: warning[SC2034]: OPVID1 appears unused. Verify use (or export if used externally).
#  117|   PVID2=`pvs "$LOOP2" --noheading -o uuid | tr -d - | awk '{print $1}'`
#  118|   # PVID with dashes for matching pvs -o+uuid output
#  119|-> OPVID1=`pvs "$LOOP1" --noheading -o uuid | awk '{print $1}'`
#  120|   OPVID2=`pvs "$LOOP2" --noheading -o uuid | awk '{print $1}'`
#  121|   grep "$LOOP1" $DF

Error: SHELLCHECK_WARNING (CWE-563): [#def115]
/usr/share/lvm2-testsuite/shell/devicesfile-edit.sh:120:1: warning[SC2034]: OPVID2 appears unused. Verify use (or export if used externally).
#  118|   # PVID with dashes for matching pvs -o+uuid output
#  119|   OPVID1=`pvs "$LOOP1" --noheading -o uuid | awk '{print $1}'`
#  120|-> OPVID2=`pvs "$LOOP2" --noheading -o uuid | awk '{print $1}'`
#  121|   grep "$LOOP1" $DF
#  122|   grep "$LOOP2" $DF

Error: SHELLCHECK_WARNING (CWE-563): [#def116]
/usr/share/lvm2-testsuite/shell/devicesfile-misc.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='device id tests'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def117]
/usr/share/lvm2-testsuite/shell/devicesfile-misc.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='device id tests'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def118]
/usr/share/lvm2-testsuite/shell/devicesfile-misc.sh:26:1: warning[SC2034]: HINTS appears unused. Verify use (or export if used externally).
#   24|   RUNDIR="/run"
#   25|   test -d "$RUNDIR" || RUNDIR="/var/run"
#   26|-> HINTS="$RUNDIR/lvm/hints"
#   27|   
#   28|   PVS_ONLINE_DIR="$RUNDIR/lvm/pvs_online"

Error: SHELLCHECK_WARNING (CWE-563): [#def119]
/usr/share/lvm2-testsuite/shell/devicesfile-misc.sh:103:1: warning[SC2034]: PVID2 appears unused. Verify use (or export if used externally).
#  101|   MINOR2=$LVM2_PV_MINOR
#  102|   OPVID2=$LVM2_PV_UUID
#  103|-> PVID2=${OPVID2//-/}
#  104|   
#  105|   vgcreate $vg3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-563): [#def120]
/usr/share/lvm2-testsuite/shell/devicesfile-misc.sh:117:1: warning[SC2034]: PVID4 appears unused. Verify use (or export if used externally).
#  115|   MINOR4=$LVM2_PV_MINOR
#  116|   OPVID4=$LVM2_PV_UUID
#  117|-> PVID4=${OPVID4//-/}
#  118|   
#  119|   create_base

Error: SHELLCHECK_WARNING (CWE-563): [#def121]
/usr/share/lvm2-testsuite/shell/devicesfile-realdevs.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file with real devs'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def122]
/usr/share/lvm2-testsuite/shell/devicesfile-realdevs.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file with real devs'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def123]
/usr/share/lvm2-testsuite/shell/devicesfile-refresh.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='refresh device ids if system changes'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def124]
/usr/share/lvm2-testsuite/shell/devicesfile-refresh.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='refresh device ids if system changes'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def125]
/usr/share/lvm2-testsuite/shell/devicesfile-refresh.sh:79:1: warning[SC2034]: ORIG appears unused. Verify use (or export if used externally).
#   77|   mkdir -p "$DFDIR" || true
#   78|   DF="$DFDIR/system.devices"
#   79|-> ORIG="$DFDIR/orig.devices"
#   80|   touch "$DF"
#   81|   

Error: SHELLCHECK_WARNING (CWE-563): [#def126]
/usr/share/lvm2-testsuite/shell/devicesfile-scan-lvs.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='devices file'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def127]
/usr/share/lvm2-testsuite/shell/devicesfile-scan-lvs.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='devices file'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def128]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='device id wwid from vpd_pg83'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def129]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='device id wwid from vpd_pg83'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-156): [#def130]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:199:15: warning[SC2046]: Quote this to prevent word splitting.
#  197|   vgcreate $vg4 "$dev4"
#  198|   cp "$DF" "$ORIG"
#  199|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  200|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  201|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def131]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:200:15: warning[SC2046]: Quote this to prevent word splitting.
#  198|   cp "$DF" "$ORIG"
#  199|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  200|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  201|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  202|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )

Error: SHELLCHECK_WARNING (CWE-156): [#def132]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:201:15: warning[SC2046]: Quote this to prevent word splitting.
#  199|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  200|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  201|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  202|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  203|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def133]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:202:15: warning[SC2046]: Quote this to prevent word splitting.
#  200|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  201|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  202|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  203|   PVID1=${OPVID1//-/}
#  204|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def134]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:348:15: warning[SC2046]: Quote this to prevent word splitting.
#  346|   vgcreate $vg4 "$dev4"
#  347|   cp "$DF" "$ORIG"
#  348|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  349|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  350|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def135]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:349:15: warning[SC2046]: Quote this to prevent word splitting.
#  347|   cp "$DF" "$ORIG"
#  348|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  349|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  350|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  351|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )

Error: SHELLCHECK_WARNING (CWE-156): [#def136]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:350:15: warning[SC2046]: Quote this to prevent word splitting.
#  348|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  349|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  350|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  351|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  352|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def137]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:351:15: warning[SC2046]: Quote this to prevent word splitting.
#  349|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  350|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  351|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  352|   PVID1=${OPVID1//-/}
#  353|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def138]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:475:15: warning[SC2046]: Quote this to prevent word splitting.
#  473|   vgcreate $vg4 "$dev4"
#  474|   cp "$DF" "$ORIG"
#  475|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  476|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  477|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def139]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:476:15: warning[SC2046]: Quote this to prevent word splitting.
#  474|   cp "$DF" "$ORIG"
#  475|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  476|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  477|   PVID1=${OPVID1//-/}
#  478|   PVID4=${OPVID4//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def140]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:554:15: warning[SC2046]: Quote this to prevent word splitting.
#  552|   vgcreate $vg2 "$dev2"
#  553|   cp "$DF" "$ORIG"
#  554|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  555|   PVID2=${OPVID2//-/}
#  556|   

Error: SHELLCHECK_WARNING (CWE-156): [#def141]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:604:15: warning[SC2046]: Quote this to prevent word splitting.
#  602|   grep "$SERIAL3" "$DF"
#  603|   grep "$SERIAL4" "$DF"
#  604|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  605|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  606|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def142]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:605:15: warning[SC2046]: Quote this to prevent word splitting.
#  603|   grep "$SERIAL4" "$DF"
#  604|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  605|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  606|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  607|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )

Error: SHELLCHECK_WARNING (CWE-156): [#def143]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:606:15: warning[SC2046]: Quote this to prevent word splitting.
#  604|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  605|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  606|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  607|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  608|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def144]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:607:15: warning[SC2046]: Quote this to prevent word splitting.
#  605|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  606|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  607|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  608|   PVID1=${OPVID1//-/}
#  609|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def145]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:668:15: warning[SC2046]: Quote this to prevent word splitting.
#  666|   vgcreate $vg4 "$dev4"
#  667|   cp "$DF" "$ORIG"
#  668|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  669|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  670|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def146]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:669:15: warning[SC2046]: Quote this to prevent word splitting.
#  667|   cp "$DF" "$ORIG"
#  668|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  669|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  670|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  671|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )

Error: SHELLCHECK_WARNING (CWE-156): [#def147]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:670:15: warning[SC2046]: Quote this to prevent word splitting.
#  668|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  669|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  670|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  671|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  672|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def148]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:671:15: warning[SC2046]: Quote this to prevent word splitting.
#  669|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  670|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  671|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  672|   PVID1=${OPVID1//-/}
#  673|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def149]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:733:15: warning[SC2046]: Quote this to prevent word splitting.
#  731|   vgcreate $vg3 "$dev3"
#  732|   cp "$DF" "$ORIG"
#  733|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  734|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  735|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def150]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:734:15: warning[SC2046]: Quote this to prevent word splitting.
#  732|   cp "$DF" "$ORIG"
#  733|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  734|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  735|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  736|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def151]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:735:15: warning[SC2046]: Quote this to prevent word splitting.
#  733|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  734|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  735|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  736|   PVID1=${OPVID1//-/}
#  737|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def152]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:833:15: warning[SC2046]: Quote this to prevent word splitting.
#  831|   grep "$dev3" out
#  832|   
#  833|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  834|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  835|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )

Error: SHELLCHECK_WARNING (CWE-156): [#def153]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:834:15: warning[SC2046]: Quote this to prevent word splitting.
#  832|   
#  833|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  834|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  835|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  836|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )

Error: SHELLCHECK_WARNING (CWE-156): [#def154]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:835:15: warning[SC2046]: Quote this to prevent word splitting.
#  833|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  834|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  835|-> OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  836|   OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  837|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def155]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:836:15: warning[SC2046]: Quote this to prevent word splitting.
#  834|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  835|   OPVID3=$(echo $(pvs --noheading -o uuid "$dev3") )
#  836|-> OPVID4=$(echo $(pvs --noheading -o uuid "$dev4") )
#  837|   PVID1=${OPVID1//-/}
#  838|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def156]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:870:15: warning[SC2046]: Quote this to prevent word splitting.
#  868|   cp "$DF" "$ORIG"
#  869|   
#  870|-> OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  871|   OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  872|   PVID1=${OPVID1//-/}

Error: SHELLCHECK_WARNING (CWE-156): [#def157]
/usr/share/lvm2-testsuite/shell/devicesfile-serial.sh:871:15: warning[SC2046]: Quote this to prevent word splitting.
#  869|   
#  870|   OPVID1=$(echo $(pvs --noheading -o uuid "$dev1") )
#  871|-> OPVID2=$(echo $(pvs --noheading -o uuid "$dev2") )
#  872|   PVID1=${OPVID1//-/}
#  873|   PVID2=${OPVID2//-/}

Error: SHELLCHECK_WARNING (CWE-563): [#def158]
/usr/share/lvm2-testsuite/shell/devicesfile-vpd-ids.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='device id wwid from vpd_pg83'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def159]
/usr/share/lvm2-testsuite/shell/devicesfile-vpd-ids.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='device id wwid from vpd_pg83'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def160]
/usr/share/lvm2-testsuite/shell/devicesfile-vpd-ids.sh:343:1: warning[SC2034]: T10_WWID_RHEL92 appears unused. Verify use (or export if used externally).
#  341|   T10_WWID_RHEL91="t10.ATA_____VBOX_HARDDISK___________________________VB9c10d318-188d9eb__"
#  342|   # 9.2 ignores the trailing space
#  343|-> T10_WWID_RHEL92="t10.ATA_____VBOX_HARDDISK___________________________VB9c10d318-188d9eb_"
#  344|   lvmdevices --adddev "$DEV1"
#  345|   cat "$DF"

Error: SHELLCHECK_WARNING (CWE-563): [#def161]
/usr/share/lvm2-testsuite/shell/discards-thin.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   SKIP_WITH_LVMLOCKD=1
#   19|   

Error: SHELLCHECK_WARNING (CWE-563): [#def162]
/usr/share/lvm2-testsuite/shell/discards-thin.sh:18:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   16|   
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|-> SKIP_WITH_LVMLOCKD=1
#   19|   
#   20|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def163]
/usr/share/lvm2-testsuite/shell/dmeventd-restart.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-156): [#def164]
/usr/share/lvm2-testsuite/shell/dmeventd-restart.sh:84:10: warning[SC2046]: Quote this to prevent word splitting.
#   82|   	# surprisingly it's not instant and we can actually
#   83|   	# obtain list of monitored devices...
#   84|-> 	test -z $(ps -p "$pid" -o comm=) && break
#   85|   	sleep .1
#   86|   done

Error: SHELLCHECK_WARNING (CWE-563): [#def165]
/usr/share/lvm2-testsuite/shell/dmsecuretest.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test secure table is not leaking data in user land
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def166]
/usr/share/lvm2-testsuite/shell/dmsecuretest.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   # AES key matching rot13 string from dmsecuretest.c */

Error: SHELLCHECK_WARNING (CWE-563): [#def167]
/usr/share/lvm2-testsuite/shell/dmsetup-integrity-keys.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   # unrelated to lvm2 daemons
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def168]
/usr/share/lvm2-testsuite/shell/dmsetup-integrity-keys.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # unrelated to lvm2 daemons
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def169]
/usr/share/lvm2-testsuite/shell/dmsetup-keyring.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   # unrelated to lvm2 daemons
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def170]
/usr/share/lvm2-testsuite/shell/dmsetup-keyring.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # unrelated to lvm2 daemons
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def171]
/usr/share/lvm2-testsuite/shell/dmstats-create.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def172]
/usr/share/lvm2-testsuite/shell/dmstats-create.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def173]
/usr/share/lvm2-testsuite/shell/dmstats-filemap.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def174]
/usr/share/lvm2-testsuite/shell/dmstats-filemap.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def175]
/usr/share/lvm2-testsuite/shell/dmstats-group-ungroup-nouserdata.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def176]
/usr/share/lvm2-testsuite/shell/dmstats-group-ungroup-nouserdata.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def177]
/usr/share/lvm2-testsuite/shell/dmstats-group-ungroup-userdata.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def178]
/usr/share/lvm2-testsuite/shell/dmstats-group-ungroup-userdata.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def179]
/usr/share/lvm2-testsuite/shell/dmstats-group.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def180]
/usr/share/lvm2-testsuite/shell/dmstats-group.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def181]
/usr/share/lvm2-testsuite/shell/dmstats-histogram.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def182]
/usr/share/lvm2-testsuite/shell/dmstats-histogram.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def183]
/usr/share/lvm2-testsuite/shell/dmstats-precise.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def184]
/usr/share/lvm2-testsuite/shell/dmstats-precise.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def185]
/usr/share/lvm2-testsuite/shell/dmstats-report.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def186]
/usr/share/lvm2-testsuite/shell/dmstats-report.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def187]
/usr/share/lvm2-testsuite/shell/dmstats-ungroup.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def188]
/usr/share/lvm2-testsuite/shell/dmstats-ungroup.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def189]
/usr/share/lvm2-testsuite/shell/dmstats-userdata.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def190]
/usr/share/lvm2-testsuite/shell/dmstats-userdata.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def191]
/usr/share/lvm2-testsuite/shell/dumpconfig.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def192]
/usr/share/lvm2-testsuite/shell/duplicate-pvs-md0.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def193]
/usr/share/lvm2-testsuite/shell/duplicate-pvs-md0.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-563): [#def194]
/usr/share/lvm2-testsuite/shell/duplicate-pvs-multipath.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='duplicate pv detection of mpath components using wwid'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def195]
/usr/share/lvm2-testsuite/shell/duplicate-pvs-multipath.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='duplicate pv detection of mpath components using wwid'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def196]
/usr/share/lvm2-testsuite/shell/duplicate-pvs-multipath.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def197]
/usr/share/lvm2-testsuite/shell/duplicate-vgid.sh:9:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#    7|   # of the GNU General Public License v.2.
#    8|   
#    9|-> SKIP_WITH_LVMLOCKD=1
#   10|   SKIP_WITH_LVMPOLLD=1
#   11|   

Error: SHELLCHECK_WARNING (CWE-563): [#def198]
/usr/share/lvm2-testsuite/shell/duplicate-vgid.sh:10:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    8|   
#    9|   SKIP_WITH_LVMLOCKD=1
#   10|-> SKIP_WITH_LVMPOLLD=1
#   11|   
#   12|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def199]
/usr/share/lvm2-testsuite/shell/duplicate-vgnames.sh:9:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#    7|   # of the GNU General Public License v.2.
#    8|   
#    9|-> SKIP_WITH_LVMLOCKD=1
#   10|   SKIP_WITH_LVMPOLLD=1
#   11|   

Error: SHELLCHECK_WARNING (CWE-563): [#def200]
/usr/share/lvm2-testsuite/shell/duplicate-vgnames.sh:10:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    8|   
#    9|   SKIP_WITH_LVMLOCKD=1
#   10|-> SKIP_WITH_LVMPOLLD=1
#   11|   
#   12|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def201]
/usr/share/lvm2-testsuite/shell/duplicate-vgrename.sh:9:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#    7|   # of the GNU General Public License v.2.
#    8|   
#    9|-> SKIP_WITH_LVMLOCKD=1
#   10|   SKIP_WITH_LVMPOLLD=1
#   11|   

Error: SHELLCHECK_WARNING (CWE-563): [#def202]
/usr/share/lvm2-testsuite/shell/duplicate-vgrename.sh:10:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    8|   
#    9|   SKIP_WITH_LVMLOCKD=1
#   10|-> SKIP_WITH_LVMPOLLD=1
#   11|   
#   12|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def203]
/usr/share/lvm2-testsuite/shell/error-usage.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def204]
/usr/share/lvm2-testsuite/shell/error-usage.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def205]
/usr/share/lvm2-testsuite/shell/exported.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def206]
/usr/share/lvm2-testsuite/shell/fsadm-crypt-fsresize.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise fsadm filesystem resize on crypt devices'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def207]
/usr/share/lvm2-testsuite/shell/fsadm-crypt-fsresize.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise fsadm filesystem resize on crypt devices'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   # FIXME: cannot use brd (ramdisk)  - lsblk is NOT listing it

Error: SHELLCHECK_WARNING (CWE-563): [#def208]
/usr/share/lvm2-testsuite/shell/fsadm-crypt.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise fsadm filesystem resize on crypt devices'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def209]
/usr/share/lvm2-testsuite/shell/fsadm-crypt.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise fsadm filesystem resize on crypt devices'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   # FIXME: cannot use brd (ramdisk)  - lsblk is NOT listing it

Error: SHELLCHECK_WARNING (CWE-563): [#def210]
/usr/share/lvm2-testsuite/shell/fsadm-renamed.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#   12|   
#   13|-> test_description='Exercise fsadm operation on renamed device'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def211]
/usr/share/lvm2-testsuite/shell/fsadm-renamed.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise fsadm operation on renamed device'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def212]
/usr/share/lvm2-testsuite/shell/fsadm-renamed.sh:25:1: warning[SC2034]: dev_vg_lv_ren appears unused. Verify use (or export if used externally).
#   23|   
#   24|   dev_vg_lv="$DM_DEV_DIR/$vg_lv"
#   25|-> dev_vg_lv_ren="$DM_DEV_DIR/$vg_lv_ren"
#   26|   
#   27|   mount_dir="mnt"

Error: SHELLCHECK_WARNING (CWE-563): [#def213]
/usr/share/lvm2-testsuite/shell/fsadm.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise fsadm filesystem resize'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def214]
/usr/share/lvm2-testsuite/shell/fsadm.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise fsadm filesystem resize'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def215]
/usr/share/lvm2-testsuite/shell/hints.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   # hints are currently disabled with lvmlockd

Error: SHELLCHECK_WARNING (CWE-563): [#def216]
/usr/share/lvm2-testsuite/shell/hints.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   # hints are currently disabled with lvmlockd
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def217]
/usr/share/lvm2-testsuite/shell/hints.sh:28:1: warning[SC2034]: NOHINTS appears unused. Verify use (or export if used externally).
#   26|   test -d "$RUNDIR" || RUNDIR="/var/run"
#   27|   HINTS="$RUNDIR/lvm/hints"
#   28|-> NOHINTS="$RUNDIR/lvm/nohints"
#   29|   NEWHINTS="$RUNDIR/lvm/newhints"
#   30|   PREV="$RUNDIR/lvm/prev-hints"

Error: SHELLCHECK_WARNING (CWE-563): [#def218]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def219]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure_half_brain.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-140): [#def220]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure_half_brain.sh:40:13: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   38|   lvcreate -a ey --zero n -l 100%FREE -n $lv1 $vg
#   39|   
#   40|-> drive_list=($DRIVE1)
#   41|   
#   42|   # Find all drives with the same WWN and delete them from system,

Error: SHELLCHECK_WARNING (CWE-140): [#def221]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure_half_brain.sh:52:17: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   50|   			base_name="$(basename -- ${dev})"
#   51|   			drive_list+=("$base_name")
#   52|-> 			host_list+=( $(readlink "/sys/block/$base_name" | awk -F'/' '{print $6}') )
#   53|   		fi
#   54|   	fi

Error: SHELLCHECK_WARNING (CWE-563): [#def222]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure_timeout.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-140): [#def223]
/usr/share/lvm2-testsuite/shell/idm_fabric_failure_timeout.sh:49:17: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   47|   			base_name="$(basename -- ${dev})"
#   48|   			drive_list+=("$base_name")
#   49|-> 			host_list+=( $(readlink "/sys/block/$base_name" | awk -F'/' '{print $6}') )
#   50|   		fi
#   51|   	fi

Error: SHELLCHECK_WARNING (CWE-563): [#def224]
/usr/share/lvm2-testsuite/shell/idm_ilm_failure.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def225]
/usr/share/lvm2-testsuite/shell/inconsistent-metadata.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def226]
/usr/share/lvm2-testsuite/shell/integrity-blocksize-2.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def227]
/usr/share/lvm2-testsuite/shell/integrity-blocksize-3.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def228]
/usr/share/lvm2-testsuite/shell/integrity-blocksize.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def229]
/usr/share/lvm2-testsuite/shell/integrity-caching.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def230]
/usr/share/lvm2-testsuite/shell/integrity-dmeventd.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def231]
/usr/share/lvm2-testsuite/shell/integrity-large.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test writecache usage
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LOW_SPACE=1100
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def232]
/usr/share/lvm2-testsuite/shell/integrity-large.sh:16:1: warning[SC2034]: SKIP_WITH_LOW_SPACE appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LOW_SPACE=1100
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def233]
/usr/share/lvm2-testsuite/shell/integrity-misc.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def234]
/usr/share/lvm2-testsuite/shell/integrity-syncaction.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def235]
/usr/share/lvm2-testsuite/shell/integrity.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def236]
/usr/share/lvm2-testsuite/shell/large-physical-sector-size.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def237]
/usr/share/lvm2-testsuite/shell/large-physical-sector-size.sh:40:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   38|   vgcreate $SHARED $vg "$dev1"
#   39|   
#   40|-> for i in $(seq 1 40); do lvcreate -an -l1 $vg; done;
#   41|   
#   42|   lvs $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def238]
/usr/share/lvm2-testsuite/shell/listings.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   #
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def239]
/usr/share/lvm2-testsuite/shell/lock-blocking.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='test some blocking / non-blocking multi-vg operations'
#   14|   
#   15|   SKIP_WITH_CLVMD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def240]
/usr/share/lvm2-testsuite/shell/lock-blocking.sh:15:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   13|   test_description='test some blocking / non-blocking multi-vg operations'
#   14|   
#   15|-> SKIP_WITH_CLVMD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def241]
/usr/share/lvm2-testsuite/shell/lock-blocking.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_CLVMD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-156): [#def242]
/usr/share/lvm2-testsuite/shell/lock-blocking.sh:50:6: warning[SC2046]: Quote this to prevent word splitting.
#   48|   # First kill 'sleep' process forked from flock
#   49|   # Not using 'flock -F' since this flag is newer
#   50|-> kill $(ps -o pid --no-headers --ppid "$flock_pid") || true
#   51|   kill "$flock_pid" || true
#   52|   

Error: SHELLCHECK_WARNING (CWE-563): [#def243]
/usr/share/lvm2-testsuite/shell/lock-parallel.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def244]
/usr/share/lvm2-testsuite/shell/lock-parallel.sh:38:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   36|   
#   37|   # Let's wait till resize starts
#   38|-> for i in $(seq 1 300); do
#   39|           pgrep fsck && break
#   40|           sleep .1

Error: SHELLCHECK_WARNING (CWE-563): [#def245]
/usr/share/lvm2-testsuite/shell/losetup-partscan.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def246]
/usr/share/lvm2-testsuite/shell/lv-ancestry.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   

Error: SHELLCHECK_WARNING (CWE-457): [#def247]
/usr/share/lvm2-testsuite/shell/lv-ancestry.sh:24:26: warning[SC2154]: vg is referenced but not assigned.
#   22|   aux lvmconf "metadata/record_lvs_history=1"
#   23|   
#   24|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   25|   
#   26|   lvcreate -l100%FREE -T ${vg}/pool

Error: SHELLCHECK_WARNING (CWE-563): [#def248]
/usr/share/lvm2-testsuite/shell/lvchange-cache-mode.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def249]
/usr/share/lvm2-testsuite/shell/lvchange-cache-mode.sh:33:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   31|   #dmsetup table $vg-$lv1
#   32|   
#   33|-> for i in $(seq 1 10) ; do 
#   34|   echo 3 >/proc/sys/vm/drop_caches
#   35|   dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=64K count=20 oflag=direct || true

Error: SHELLCHECK_WARNING (CWE-563): [#def250]
/usr/share/lvm2-testsuite/shell/lvchange-cache-old.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def251]
/usr/share/lvm2-testsuite/shell/lvchange-cache-syncaction-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def252]
/usr/share/lvm2-testsuite/shell/lvchange-cache-syncaction-raid.sh:22:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   20|   # might get fixed one day though
#   21|   # meanwhile skipped
#   22|-> SKIP_WITH_CLVMD=1
#   23|   
#   24|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def253]
/usr/share/lvm2-testsuite/shell/lvchange-cache.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def254]
/usr/share/lvm2-testsuite/shell/lvchange-mirror.sh:16:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   14|   # seriously broken!
#   15|   
#   16|-> SKIP_WITH_CLVMD=1
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def255]
/usr/share/lvm2-testsuite/shell/lvchange-mirror.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   SKIP_WITH_CLVMD=1
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def256]
/usr/share/lvm2-testsuite/shell/lvchange-partial-raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def257]
/usr/share/lvm2-testsuite/shell/lvchange-partial.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def258]
/usr/share/lvm2-testsuite/shell/lvchange-raid-transient-failures.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def259]
/usr/share/lvm2-testsuite/shell/lvchange-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def260]
/usr/share/lvm2-testsuite/shell/lvchange-raid.sh:343:49: warning[SC2034]: TEST_TYPE appears unused. Verify use (or export if used externally).
#  341|   # but they don't work together in a cluster yet
#  342|   #  (nor does thinpool+mirror work in a cluster yet)
#  343|-> test ! -e LOCAL_CLVMD && aux have_thin 1 8 0 && TEST_TYPE="$TEST_TYPES thinpool_data thinpool_meta"
#  344|   
#  345|   # Implicit test for 'raid1' only

Error: SHELLCHECK_WARNING (CWE-563): [#def261]
/usr/share/lvm2-testsuite/shell/lvchange-raid1-writemostly.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def262]
/usr/share/lvm2-testsuite/shell/lvchange-raid10.sh:13:1: warning[SC2034]: TEST_RAID appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> TEST_RAID=raid10
#   14|   
#   15|   . shell/lvchange-raid.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def263]
/usr/share/lvm2-testsuite/shell/lvchange-raid456.sh:13:1: warning[SC2034]: TEST_RAID appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> TEST_RAID=raid456
#   14|   
#   15|   . shell/lvchange-raid.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def264]
/usr/share/lvm2-testsuite/shell/lvchange-rebuild-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def265]
/usr/share/lvm2-testsuite/shell/lvchange-syncaction-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def266]
/usr/share/lvm2-testsuite/shell/lvchange-syncaction-raid.sh:22:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   20|   # might get fixed one day though
#   21|   # meanwhile skipped
#   22|-> SKIP_WITH_CLVMD=1
#   23|   
#   24|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def267]
/usr/share/lvm2-testsuite/shell/lvchange-thin.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def268]
/usr/share/lvm2-testsuite/shell/lvchange-thin.sh:172:1: warning[SC2034]: TAG appears unused. Verify use (or export if used externally).
#  170|   # Play with tags and activation
#  171|   #
#  172|-> TAG=$(uname -n)
#  173|   aux lvmconf "activation/volume_list = [ \"$vg/$lv2\", \"@mytag\" ]"
#  174|   

Error: SHELLCHECK_WARNING (CWE-563): [#def269]
/usr/share/lvm2-testsuite/shell/lvchange-vdo.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def270]
/usr/share/lvm2-testsuite/shell/lvchange-vdo.sh:28:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   26|   
#   27|   # Wait till index gets opened
#   28|-> for i in {1..10} ; do
#   29|   	sleep .1
#   30|   	check grep_dmsetup status $vg-vdopool-vpool " online online " || continue

Error: SHELLCHECK_WARNING (CWE-563): [#def271]
/usr/share/lvm2-testsuite/shell/lvchange-vdo.sh:151:1: warning[SC2034]: TAG appears unused. Verify use (or export if used externally).
#  149|   # Play with tags and activation
#  150|   #
#  151|-> TAG=$(uname -n)
#  152|   aux lvmconf "activation/volume_list = [ \"$vg/$lv2\", \"@mytag\" ]"
#  153|   

Error: SHELLCHECK_WARNING (CWE-563): [#def272]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-abort.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def273]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-chunks.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def274]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-raid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Exercise usage of stacked cache volume using raid volume
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def275]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-smq.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def276]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-snapshot.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot of cached volume
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def277]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-snapshot.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def278]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-thin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Exercise usage of stacked cache volume used in thin pool volumes
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def279]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def280]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-vdo.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Exercise usage of stacked cache volume used in thin pool volumes
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def281]
/usr/share/lvm2-testsuite/shell/lvconvert-cache-vdo.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def282]
/usr/share/lvm2-testsuite/shell/lvconvert-cache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Exercise conversion of cache and cache pool
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def283]
/usr/share/lvm2-testsuite/shell/lvconvert-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def284]
/usr/share/lvm2-testsuite/shell/lvconvert-m-raid1-degraded.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def285]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-0.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def286]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-0.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . ./shell/lvconvert-mirror-basic.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def287]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-2.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def288]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-2.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . ./shell/lvconvert-mirror-basic.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def289]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-3.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def290]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic-3.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . ./shell/lvconvert-mirror-basic.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def291]
/usr/share/lvm2-testsuite/shell/lvconvert-mirror-basic.sh:75:3: warning[SC2034]: max_log_count appears unused. Verify use (or export if used externally).
#   73|   		max_log_count=$finish_log_count
#   74|   	else
#   75|-> 		max_log_count=$start_log_count
#   76|   	fi
#   77|   

Error: SHELLCHECK_WARNING (CWE-563): [#def292]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-allocation.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def293]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-regionsize.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def294]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-linear_to_raid6-single-type.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def295]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-linear_to_raid6-single-type.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def296]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-linear_to_striped-single-type.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def297]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-linear_to_striped-single-type.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def298]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-linear_to_striped.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def299]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-load.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-156): [#def300]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:106:4: warning[SC2046]: Quote this to prevent word splitting.
#  104|   
#  105|   	# Compare size of LV with calculated one
#  106|-> 	[ $(blockdev --getsz /dev/$vg/$lv) -eq $(_get_size $vg $lv $data_stripes) ] && echo 0 || echo 1
#  107|   }
#  108|   

Error: SHELLCHECK_WARNING (CWE-156): [#def301]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:106:41: warning[SC2046]: Quote this to prevent word splitting.
#  104|   
#  105|   	# Compare size of LV with calculated one
#  106|-> 	[ $(blockdev --getsz /dev/$vg/$lv) -eq $(_get_size $vg $lv $data_stripes) ] && echo 0 || echo 1
#  107|   }
#  108|   

Error: SHELLCHECK_WARNING (CWE-571): [#def302]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:130:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  128|   	shift 5
#  129|   	local opts="$*"
#  130|-> 	local stripes=$(_total_stripes $raid_type $data_stripes)
#  131|   
#  132|   	lvcreate -y -aey --type $raid_type -i $data_stripes -L $size -n $lv $vg $opts

Error: SHELLCHECK_WARNING (CWE-571): [#def303]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:152:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  150|   	shift 6
#  151|   	local opts="$*"
#  152|-> 	local stripes=$(_total_stripes $raid_type $data_stripes)
#  153|   
#  154|   	# Avoid random udev sync delays causing _check_size to be unreliable

Error: SHELLCHECK_WARNING (CWE-571): [#def304]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:171:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  169|   	local lv=$3
#  170|   	local data_stripes=$4
#  171|-> 	local stripes=$(_total_stripes $raid_type $data_stripes)
#  172|   	local stripesize="$((16 << ($data_stripes % 5))).00k" # Stripe size variation
#  173|   

Error: SHELLCHECK_WARNING (CWE-156): [#def305]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:178:4: warning[SC2046]: Quote this to prevent word splitting.
#  176|   
#  177|   	# Size has to be inconsistent until reshape finishes
#  178|-> 	[ $(_check_size $vg $lv $data_stripes) -ne 0 ] || die "LV size should be small"
#  179|   
#  180|   	check lv_first_seg_field $vg/$lv stripesize "$stripesize"

Error: SHELLCHECK_WARNING (CWE-156): [#def306]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:190:4: warning[SC2046]: Quote this to prevent word splitting.
#  188|   
#  189|   	# Now size consistency has to be fine
#  190|-> 	[ $(_check_size $vg $lv $data_stripes) -eq 0 ] || die "LV size should be grown"
#  191|   
#  192|   	# Check, use grown capacity for the filesystem and check again

Error: SHELLCHECK_WARNING (CWE-571): [#def307]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:210:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  208|   	local lv=$3
#  209|   	local data_stripes=$4
#  210|-> 	local cur_data_stripes=$(get lv_field "$vg/$lv" datastripes -a)
#  211|   	local stripes=$(get lv_field "$vg/$lv" stripes -a)
#  212|   	local stripesize="$((16 << ($data_stripes % 5))).00k" # Stripe size variation

Error: SHELLCHECK_WARNING (CWE-571): [#def308]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:211:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
#  209|   	local data_stripes=$4
#  210|   	local cur_data_stripes=$(get lv_field "$vg/$lv" datastripes -a)
#  211|-> 	local stripes=$(get lv_field "$vg/$lv" stripes -a)
#  212|   	local stripesize="$((16 << ($data_stripes % 5))).00k" # Stripe size variation
#  213|   

Error: SHELLCHECK_WARNING (CWE-156): [#def309]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:218:35: warning[SC2046]: Quote this to prevent word splitting.
#  216|   	then
#  217|   		fsck -fy "$DM_DEV_DIR/$vg/$lv"
#  218|-> 		resize2fs "$DM_DEV_DIR/$vg/$lv" $(_get_size $vg $lv $data_stripes)s
#  219|   		fsck -fy "$DM_DEV_DIR/$vg/$lv"
#  220|   	fi

Error: SHELLCHECK_WARNING (CWE-156): [#def310]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:226:4: warning[SC2046]: Quote this to prevent word splitting.
#  224|   
#  225|   	# Size has to be inconsistent, as to be removed legs still exist
#  226|-> 	[ $(_check_size $vg $lv $cur_data_stripes) -ne 0 ] || die "LV size should be reduced but not rimage count"
#  227|   
#  228|   	check lv_first_seg_field $vg/$lv stripesize "$stripesize"

Error: SHELLCHECK_WARNING (CWE-156): [#def311]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:242:43: warning[SC2046]: Quote this to prevent word splitting.
#  240|   	_reshape_layout $raid_type $data_stripes $vg $lv 1 1
#  241|   	check lv_first_seg_field $vg/$lv datastripes $data_stripes
#  242|-> 	check lv_first_seg_field $vg/$lv stripes $(_total_stripes $raid_type $data_stripes)
#  243|   
#  244|   	sleep 1

Error: SHELLCHECK_WARNING (CWE-156): [#def312]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:247:4: warning[SC2046]: Quote this to prevent word splitting.
#  245|   
#  246|   	# Now size consistency has to be fine
#  247|-> 	[ $(_check_size $vg $lv $data_stripes) -eq 0 ] || die "LV size should be completely reduced"
#  248|   
#  249|   	fsck -fy "$DM_DEV_DIR/$vg/$lv"

Error: SHELLCHECK_WARNING (CWE-156): [#def313]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:274:4: warning[SC2046]: Quote this to prevent word splitting.
#  272|   	# Create (data_stripes+1)-way striped $raid_type
#  273|   	_lvcreate $raid_type $data_stripes $(($data_stripes * ${rimagesz}))M $vg $lv --stripesize 128k
#  274|-> 	[ $(_check_size $vg $lv $data_stripes) -eq 0 ] || die "LV size bogus"
#  275|   	check lv_first_seg_field $vg/$lv stripesize "128.00k"
#  276|   	aux wait_for_sync $vg $lv 0

Error: SHELLCHECK_WARNING (CWE-156): [#def314]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:283:4: warning[SC2046]: Quote this to prevent word splitting.
#  281|   	# Reshape it to one more stripe and 256K stripe size
#  282|   	_reshape_layout $raid_type $(($data_stripes + 1)) $vg $lv 0 0 --stripesize 256K
#  283|-> 	[ $(_check_size $vg $lv $(($data_stripes + 1))) -ne 0 ] || die "LV size should still be small"
#  284|   	fsck -fy "$DM_DEV_DIR/$vg/$lv"
#  285|   

Error: SHELLCHECK_WARNING (CWE-156): [#def315]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-size.sh:292:4: warning[SC2046]: Quote this to prevent word splitting.
#  290|   	aux wait_for_sync $vg $lv 0
#  291|   
#  292|-> 	[ $(_check_size $vg $lv $(($data_stripes + 1))) -eq 0 ] || die "LV size should be grown"
#  293|   	fsck -fy "$DM_DEV_DIR/$vg/$lv"
#  294|   	udevadm settle

Error: SHELLCHECK_WARNING (CWE-563): [#def316]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-striped_to_linear-single-type.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def317]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-striped_to_linear-single-type.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def318]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-striped_to_linear.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def319]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-stripes-load-fail.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def320]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-stripes-load-reload.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def321]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-stripes-load-reload.sh:78:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   76|   	echo "Skipping table reload test on on unfixed kernel!!!" ;;
#   77|     *)
#   78|-> for i in {0..5}
#   79|   do
#   80|   	dmsetup table $vg-$lv1|dmsetup load $vg-$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def322]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape-stripes-load.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def323]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-reshape.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   LVM_SKIP_LARGE_TESTS=0

Error: SHELLCHECK_WARNING (CWE-563): [#def324]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-restripe-linear.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA2110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def325]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-restripe-linear.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def326]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:19:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   17|   #######################################################################
#   18|   
#   19|-> SKIP_WITH_LVMPOLLD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-140): [#def327]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:44:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   42|   for i in {100..0}; do
#   43|   	check in_sync $vg $lv1 && break
#   44|-> 	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   45|   	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   46|   	if [ "${b[0]}" -ne "${b[1]}" ]; then

Error: SHELLCHECK_WARNING (CWE-140): [#def328]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:45:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   43|   	check in_sync $vg $lv1 && break
#   44|   	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   45|-> 	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   46|   	if [ "${b[0]}" -ne "${b[1]}" ]; then
#   47|   		# First, 'check in_sync' should only need to check the ratio

Error: SHELLCHECK_WARNING (CWE-140): [#def329]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:68:5: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   66|   lvcreate -aey -l 2 -n $lv1 $vg "$dev1"
#   67|   lvconvert --type raid1 -y -m 1 $vg/$lv1 "$dev2"
#   68|-> a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   69|   b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   70|   should [ "${b[0]}" -ne "${b[1]}" ] # RHBZ 1507729

Error: SHELLCHECK_WARNING (CWE-140): [#def330]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:69:5: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   67|   lvconvert --type raid1 -y -m 1 $vg/$lv1 "$dev2"
#   68|   a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   69|-> b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   70|   should [ "${b[0]}" -ne "${b[1]}" ] # RHBZ 1507729
#   71|   aux enable_dev "$dev2"

Error: SHELLCHECK_WARNING (CWE-140): [#def331]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:81:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   79|   lvconvert --type raid1 -y -m 1 $vg/$lv1 "$dev2"
#   80|   for i in {100..0}; do
#   81|-> 	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   82|   	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   83|   	if [ "${b[0]}" -eq "0" ]; then

Error: SHELLCHECK_WARNING (CWE-140): [#def332]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:82:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   80|   for i in {100..0}; do
#   81|   	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#   82|-> 	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#   83|   	if [ "${b[0]}" -eq "0" ]; then
#   84|   	      : # Ignore until raid starts to report consistent data

Error: SHELLCHECK_WARNING (CWE-140): [#def333]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:117:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  115|   lvconvert -y -m +1 $vg/$lv1 "$dev3"
#  116|   for i in {100..0}; do
#  117|-> 	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#  118|   	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#  119|   	if [ "${b[0]}" -eq "0" ]; then

Error: SHELLCHECK_WARNING (CWE-140): [#def334]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:118:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  116|   for i in {100..0}; do
#  117|   	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#  118|-> 	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#  119|   	if [ "${b[0]}" -eq "0" ]; then
#  120|   	      : # Ignore until raid starts to report consistent data

Error: SHELLCHECK_WARNING (CWE-140): [#def335]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:147:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  145|   lvcreate --type raid1 -m 1 -aey -l 2 -n $lv1 $vg "$dev1" "$dev2"
#  146|   for i in {100..0}; do
#  147|-> 	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#  148|   	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#  149|   	if [ "${b[0]}" -eq "0" ]; then

Error: SHELLCHECK_WARNING (CWE-140): [#def336]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-status-validation.sh:148:6: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  146|   for i in {100..0}; do
#  147|   	a=( $(dmsetup status $vg-$lv1) ) || die "Unable to get status of $vg/$lv1"
#  148|-> 	b=( $(echo "${a[6]}" | sed s:/:' ':) )
#  149|   	if [ "${b[0]}" -eq "0" ]; then
#  150|   	      : # Ignore until raid starts to report consistent data

Error: SHELLCHECK_WARNING (CWE-563): [#def337]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover-alloc-failure.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def338]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover-linear_to_raid4.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def339]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover-raid4_to_linear.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def340]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover-thin.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def341]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover-thin.sh:63:3: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   61|   for j in data meta ; do
#   62|     LV=pool_t${j}
#   63|->   for i in 1 2 ; do
#   64|       lvconvert --type raid1 -m1 -y  $vg/$LV
#   65|       check grep_dmsetup table $vg-${LV} "raid1"

Error: SHELLCHECK_WARNING (CWE-563): [#def342]
/usr/share/lvm2-testsuite/shell/lvconvert-raid-takeover.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def343]
/usr/share/lvm2-testsuite/shell/lvconvert-raid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # disable lvmetad logging as it bogs down test systems
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def344]
/usr/share/lvm2-testsuite/shell/lvconvert-raid.sh:21:8: warning[SC2034]: d appears unused. Verify use (or export if used externally).
#   19|   test "${LVM_VALGRIND:-0}" -eq 0 || skip # too slow test for valgrind
#   20|   get_image_pvs() {
#   21|-> 	local d
#   22|   	local images=()
#   23|   

Error: SHELLCHECK_WARNING (CWE-140): [#def345]
/usr/share/lvm2-testsuite/shell/lvconvert-raid.sh:24:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   22|   	local images=()
#   23|   
#   24|-> 	images=( $(dmsetup ls | grep "${1}-${2}_.image_.*" | cut -f1 | sed -e s:-:/:) )
#   25|   	lvs --noheadings -a -o devices "${images[@]}" | sed s/\(.\)//
#   26|   }

Error: SHELLCHECK_WARNING (CWE-140): [#def346]
/usr/share/lvm2-testsuite/shell/lvconvert-raid.sh:313:13: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#  311|   		replace=()
#  312|   
#  313|-> 		devices=( $(get_image_pvs $vg $lv1) )
#  314|   
#  315|   		for k in $(seq "$j"); do

Error: SHELLCHECK_WARNING (CWE-563): [#def347]
/usr/share/lvm2-testsuite/shell/lvconvert-raid0-striped.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def348]
/usr/share/lvm2-testsuite/shell/lvconvert-raid0_to_raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def349]
/usr/share/lvm2-testsuite/shell/lvconvert-raid1-split-trackchanges.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def350]
/usr/share/lvm2-testsuite/shell/lvconvert-raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def351]
/usr/share/lvm2-testsuite/shell/lvconvert-raid10.sh:19:8: warning[SC2034]: d appears unused. Verify use (or export if used externally).
#   17|   
#   18|   get_image_pvs() {
#   19|-> 	local d
#   20|   	local images
#   21|   

Error: SHELLCHECK_WARNING (CWE-140): [#def352]
/usr/share/lvm2-testsuite/shell/lvconvert-raid10.sh:46:11: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   44|   
#   45|   # Can't replace adjacent devices
#   46|-> devices=( $(get_image_pvs $vg $lv1) )
#   47|   not lvconvert --replace "${devices[0]}" --replace "${devices[1]}" $vg/$lv1
#   48|   not lvconvert --replace "${devices[2]}" --replace "${devices[3]}" $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def353]
/usr/share/lvm2-testsuite/shell/lvconvert-raid456.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def354]
/usr/share/lvm2-testsuite/shell/lvconvert-raid456.sh:19:8: warning[SC2034]: d appears unused. Verify use (or export if used externally).
#   17|   
#   18|   get_image_pvs() {
#   19|-> 	local d
#   20|   	local images
#   21|   

Error: SHELLCHECK_WARNING (CWE-140): [#def355]
/usr/share/lvm2-testsuite/shell/lvconvert-raid456.sh:53:13: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   51|   		replace=""
#   52|   
#   53|-> 		devices=( $(get_image_pvs $vg $lv1) )
#   54|   
#   55|   		for k in $(seq $j); do

Error: SHELLCHECK_WARNING (CWE-563): [#def356]
/usr/share/lvm2-testsuite/shell/lvconvert-raid5_to_raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def357]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-cache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test repairing of broken cached LV
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def358]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-dmeventd.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def359]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-mirror.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def360]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-raid-dmeventd.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def361]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def362]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-snapshot.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def363]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-thin-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def364]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-thin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test repairing of broken thin pool metadata
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def365]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def366]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-transient-dmeventd.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def367]
/usr/share/lvm2-testsuite/shell/lvconvert-repair-transient.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-685): [#def368]
/usr/share/lvm2-testsuite/shell/lvconvert-repair.sh:17:1: warning[SC2120]: recreate_vg_ references arguments, but none are ever passed.
#   15|   aux lvmconf "global/support_mirrored_mirror_log=1"
#   16|   
#   17|-> recreate_vg_()
#   18|   {
#   19|   	vgremove -ff $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def369]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-cache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot with cache
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def370]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def371]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-mirror.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot with mirrors
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def372]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-mirror.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def373]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-raid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot with raid
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def374]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def375]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-thin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot with raid
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def376]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def377]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various supported conversion of snapshot
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def378]
/usr/share/lvm2-testsuite/shell/lvconvert-snapshot.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def379]
/usr/share/lvm2-testsuite/shell/lvconvert-striped-raid0.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def380]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-cache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test conversion cached LV to thin with cached external origin
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def381]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def382]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-cache.sh:34:18: warning[SC2154]: vg is referenced but not assigned.
#   32|   
#   33|   # Test will use thin-pool
#   34|-> lvcreate -L10 -T $vg/tpool
#   35|   
#   36|   lvcreate -aey -L20 -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def383]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-cache.sh:36:23: warning[SC2154]: lv1 is referenced but not assigned.
#   34|   lvcreate -L10 -T $vg/tpool
#   35|   
#   36|-> lvcreate -aey -L20 -n $lv1 $vg
#   37|   
#   38|   

Error: SHELLCHECK_WARNING (CWE-563): [#def384]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test conversion to thin external origin stack
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def385]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def386]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:26:27: warning[SC2154]: lv1 is referenced but not assigned.
#   24|   
#   25|   _prepare() {
#   26|-> 	lvcreate -L10 -T -V20 -n $lv1 $vg/pool1
#   27|   
#   28|   	mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def387]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:26:32: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   _prepare() {
#   26|-> 	lvcreate -L10 -T -V20 -n $lv1 $vg/pool1
#   27|   
#   28|   	mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def388]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:45:57: warning[SC2154]: lv2 is referenced but not assigned.
#   43|   
#   44|   # We can build chain of external origins with the same thin-pool
#   45|-> lvconvert --type thin --thinpool $vg/pool1 --originname $lv2 $vg/$lv1
#   46|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv3 $vg/$lv1
#   47|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv4 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def389]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:46:57: warning[SC2154]: lv3 is referenced but not assigned.
#   44|   # We can build chain of external origins with the same thin-pool
#   45|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv2 $vg/$lv1
#   46|-> lvconvert --type thin --thinpool $vg/pool1 --originname $lv3 $vg/$lv1
#   47|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv4 $vg/$lv1
#   48|   

Error: SHELLCHECK_WARNING (CWE-457): [#def390]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:47:57: warning[SC2154]: lv4 is referenced but not assigned.
#   45|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv2 $vg/$lv1
#   46|   lvconvert --type thin --thinpool $vg/pool1 --originname $lv3 $vg/$lv1
#   47|-> lvconvert --type thin --thinpool $vg/pool1 --originname $lv4 $vg/$lv1
#   48|   
#   49|   # External origins remain inactive

Error: SHELLCHECK_WARNING (CWE-457): [#def391]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external-stack.sh:95:57: warning[SC2154]: lv5 is referenced but not assigned.
#   93|   
#   94|   # ATM we are not protecting against 'self-cycling'
#   95|-> lvconvert --type thin --thinpool $vg/pool1 --originname $lv5 $vg/$lv1
#   96|   
#   97|   umount mnt

Error: SHELLCHECK_WARNING (CWE-563): [#def392]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test conversion to thin external origin
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def393]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-external.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def394]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test conversion to thin volume from thick LVs
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def395]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:27:38: warning[SC2154]: vg is referenced but not assigned.
#   25|   
#   26|   _convert_to_thin() {
#   27|-> 	mkfs.ext4 -E nodiscard "$DM_DEV_DIR/$vg/$lv1"
#   28|   	lvconvert --yes --type thin  $vg/$lv1
#   29|   	fsck -n "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def396]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:27:42: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   
#   26|   _convert_to_thin() {
#   27|-> 	mkfs.ext4 -E nodiscard "$DM_DEV_DIR/$vg/$lv1"
#   28|   	lvconvert --yes --type thin  $vg/$lv1
#   29|   	fsck -n "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def397]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:43:40: warning[SC2154]: dev2 is referenced but not assigned.
#   41|   # error -> thin
#   42|   lvcreate --type error -Zn -L10 -n $lv1 $vg
#   43|-> lvconvert --yes --type thin  $vg/$lv1 "$dev2"
#   44|   check lv_on $vg ${lv1}_tpool0_tmeta "$dev2"
#   45|   check lv_on $vg lvol0_pmspare "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def398]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:51:40: warning[SC2154]: dev1 is referenced but not assigned.
#   49|   # zero -> thin
#   50|   lvcreate --type zero -L2T -n $lv1 $vg
#   51|-> lvconvert --yes --type thin  $vg/$lv1 "$dev1"
#   52|   check lv_on $vg ${lv1}_tpool0_tmeta "$dev1"
#   53|   check lv_on $vg lvol0_pmspare "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def399]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-from-thick.sh:86:23: warning[SC2154]: lv2 is referenced but not assigned.
#   84|   if aux have_writecache 1 0 0 ; then
#   85|   	lvcreate -L10 -n $lv1 $vg
#   86|-> 	lvcreate -an -L10 -n $lv2 $vg
#   87|   	lvconvert --yes --type writecache --cachevol $lv2 $vg/$lv1
#   88|   	_convert_to_thin

Error: SHELLCHECK_WARNING (CWE-563): [#def400]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def401]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:25:41: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   
#   24|   # create RAID LVs for data and metadata volumes
#   25|-> lvcreate -aey -L10M --type raid1 -m3 -n $lv1 $vg
#   26|   lvcreate -aey -L8M --type raid1 -m3 -n $lv2 $vg
#   27|   aux wait_for_sync $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def402]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:25:46: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   # create RAID LVs for data and metadata volumes
#   25|-> lvcreate -aey -L10M --type raid1 -m3 -n $lv1 $vg
#   26|   lvcreate -aey -L8M --type raid1 -m3 -n $lv2 $vg
#   27|   aux wait_for_sync $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def403]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:26:40: warning[SC2154]: lv2 is referenced but not assigned.
#   24|   # create RAID LVs for data and metadata volumes
#   25|   lvcreate -aey -L10M --type raid1 -m3 -n $lv1 $vg
#   26|-> lvcreate -aey -L8M --type raid1 -m3 -n $lv2 $vg
#   27|   aux wait_for_sync $vg $lv1
#   28|   aux wait_for_sync $vg $lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def404]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:41:59: warning[SC2154]: dev2 is referenced but not assigned.
#   39|   lvchange -ay $vg
#   40|   
#   41|-> lvconvert --splitmirrors 1 --name data2 $vg/${lv1}_tdata "$dev2"
#   42|   lvconvert --splitmirrors 1 --name data3 $vg/${lv1}_tdata "$dev3"
#   43|   # Check split and track gets rejected on 2-legged raid1

Error: SHELLCHECK_WARNING (CWE-457): [#def405]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:42:59: warning[SC2154]: dev3 is referenced but not assigned.
#   40|   
#   41|   lvconvert --splitmirrors 1 --name data2 $vg/${lv1}_tdata "$dev2"
#   42|-> lvconvert --splitmirrors 1 --name data3 $vg/${lv1}_tdata "$dev3"
#   43|   # Check split and track gets rejected on 2-legged raid1
#   44|   not lvconvert --splitmirrors 1 --trackchanges $vg/${lv1}_tdata "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def406]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:44:65: warning[SC2154]: dev4 is referenced but not assigned.
#   42|   lvconvert --splitmirrors 1 --name data3 $vg/${lv1}_tdata "$dev3"
#   43|   # Check split and track gets rejected on 2-legged raid1
#   44|-> not lvconvert --splitmirrors 1 --trackchanges $vg/${lv1}_tdata "$dev4"
#   45|   lvconvert -y --splitmirrors 1 --trackchanges $vg/${lv1}_tdata "$dev4"
#   46|   

Error: SHELLCHECK_WARNING (CWE-457): [#def407]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-raid.sh:47:59: warning[SC2154]: dev1 is referenced but not assigned.
#   45|   lvconvert -y --splitmirrors 1 --trackchanges $vg/${lv1}_tdata "$dev4"
#   46|   
#   47|-> lvconvert --splitmirrors 1 --name meta1 $vg/${lv1}_tmeta "$dev1"
#   48|   lvconvert --splitmirrors 1 --name meta2 $vg/${lv1}_tmeta "$dev2"
#   49|   # Check split and track gets rejected on 2-legged raid1

Error: SHELLCHECK_WARNING (CWE-563): [#def408]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-vdo.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # testing conversion of volumes to thin-pool with VDO data LV
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def409]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-vdo.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def410]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-vdo.sh:23:14: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   prepare_lvs() {
#   23|-> 	lvremove -f $vg
#   24|   	lvcreate -L10M -n $lv1 $vg
#   25|   	lvcreate -L8M -n $lv2 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def411]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-vdo.sh:24:20: warning[SC2154]: lv1 is referenced but not assigned.
#   22|   prepare_lvs() {
#   23|   	lvremove -f $vg
#   24|-> 	lvcreate -L10M -n $lv1 $vg
#   25|   	lvcreate -L8M -n $lv2 $vg
#   26|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def412]
/usr/share/lvm2-testsuite/shell/lvconvert-thin-vdo.sh:25:19: warning[SC2154]: lv2 is referenced but not assigned.
#   23|   	lvremove -f $vg
#   24|   	lvcreate -L10M -n $lv1 $vg
#   25|-> 	lvcreate -L8M -n $lv2 $vg
#   26|   }
#   27|   

Error: SHELLCHECK_WARNING (CWE-563): [#def413]
/usr/share/lvm2-testsuite/shell/lvconvert-thin.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def414]
/usr/share/lvm2-testsuite/shell/lvconvert-thin.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def415]
/usr/share/lvm2-testsuite/shell/lvconvert-twostep.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def416]
/usr/share/lvm2-testsuite/shell/lvconvert-twostep.sh:21:85: warning[SC2154]: vg is referenced but not assigned.
#   19|   aux prepare_vg 4
#   20|   
#   21|-> lvcreate -aey --type mirror -m 1 --mirrorlog disk --ignoremonitoring -L 1 -n mirror $vg
#   22|   not lvconvert -m 2 --mirrorlog core $vg/mirror "$dev3" 2>&1 | tee errs
#   23|   grep "two steps" errs

Error: SHELLCHECK_WARNING (CWE-457): [#def417]
/usr/share/lvm2-testsuite/shell/lvconvert-twostep.sh:22:49: warning[SC2154]: dev3 is referenced but not assigned.
#   20|   
#   21|   lvcreate -aey --type mirror -m 1 --mirrorlog disk --ignoremonitoring -L 1 -n mirror $vg
#   22|-> not lvconvert -m 2 --mirrorlog core $vg/mirror "$dev3" 2>&1 | tee errs
#   23|   grep "two steps" errs
#   24|   

Error: SHELLCHECK_WARNING (CWE-457): [#def418]
/usr/share/lvm2-testsuite/shell/lvconvert-twostep.sh:32:61: warning[SC2154]: dev4 is referenced but not assigned.
#   30|   if test ! -e LOCAL_CLVMD ; then
#   31|   # FIXME  mirrored unsupported in cluster
#   32|-> not lvconvert -m 1 --mirrorlog mirrored $vg/mirror "$dev3" "$dev4" 2>&1 | tee errs
#   33|   grep "two steps" errs
#   34|   fi

Error: SHELLCHECK_WARNING (CWE-563): [#def419]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def420]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo-raid.sh:31:27: warning[SC2154]: vg is referenced but not assigned.
#   29|   aux prepare_vg 2 9000
#   30|   
#   31|-> lvcreate --yes --vdo -L4G $vg/vpool
#   32|   
#   33|   aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"

Error: SHELLCHECK_WARNING (CWE-457): [#def421]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo-raid.sh:33:15: warning[SC2154]: dev1 is referenced but not assigned.
#   31|   lvcreate --yes --vdo -L4G $vg/vpool
#   32|   
#   33|-> aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"
#   34|   aux zero_dev "$dev2" "$(( $(get first_extent_sector "$dev2") + 8192 )):"
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def422]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo-raid.sh:34:15: warning[SC2154]: dev2 is referenced but not assigned.
#   32|   
#   33|   aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"
#   34|-> aux zero_dev "$dev2" "$(( $(get first_extent_sector "$dev2") + 8192 )):"
#   35|   
#   36|   # convert _vdata to raid

Error: SHELLCHECK_WARNING (CWE-457): [#def423]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo-raid.sh:54:46: warning[SC2154]: lv1 is referenced but not assigned.
#   52|   lvcreate --type raid1 -L4G --nosync -n vpool1 $vg
#   53|   
#   54|-> lvconvert --yes --vdopool $vg/vpool1 -V2G -n $lv1
#   55|   
#   56|   mkfs.ext4 -E nodiscard "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-563): [#def424]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def425]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def426]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo.sh:24:18: warning[SC2154]: lv1 is referenced but not assigned.
#   22|   
#   23|   # Conversion to vdo-pool
#   24|-> lvcreate -L5G -n $lv1 $vg
#   25|   
#   26|   if not aux have_vdo 6 2 0 ; then

Error: SHELLCHECK_WARNING (CWE-457): [#def427]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo.sh:24:23: warning[SC2154]: vg is referenced but not assigned.
#   22|   
#   23|   # Conversion to vdo-pool
#   24|-> lvcreate -L5G -n $lv1 $vg
#   25|   
#   26|   if not aux have_vdo 6 2 0 ; then

Error: SHELLCHECK_WARNING (CWE-457): [#def428]
/usr/share/lvm2-testsuite/shell/lvconvert-vdo.sh:49:36: warning[SC2154]: lv2 is referenced but not assigned.
#   47|   
#   48|   lvcreate -L5G -n $lv1 $vg
#   49|-> lvconvert -y --vdopool $vg/$lv1 -n $lv2
#   50|   check lv_field $vg/$lv1 segtype vdo-pool
#   51|   check lv_field $vg/${lv1}_vdata segtype linear -a

Error: SHELLCHECK_WARNING (CWE-563): [#def429]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-fail.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def430]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-fail.sh:30:18: warning[SC2154]: lv1 is referenced but not assigned.
#   28|   
#   29|   aux prepare_vg 1 20
#   30|-> lvcreate -L10 -n $lv1 $vg
#   31|   fail lvcreate -H -L2 -n cache $vg/$lv1
#   32|   

Error: SHELLCHECK_WARNING (CWE-457): [#def431]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-fail.sh:30:23: warning[SC2154]: vg is referenced but not assigned.
#   28|   
#   29|   aux prepare_vg 1 20
#   30|-> lvcreate -L10 -n $lv1 $vg
#   31|   fail lvcreate -H -L2 -n cache $vg/$lv1
#   32|   

Error: SHELLCHECK_WARNING (CWE-563): [#def432]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-no-tools.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def433]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-no-tools.sh:38:15: warning[SC2154]: vg is referenced but not assigned.
#   36|   
#   37|   check_change_() {
#   38|-> 	lvchange -an $vg |& tee out
#   39|   	"$GREP" "$1" out
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def434]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-no-tools.sh:75:22: warning[SC2154]: lv1 is referenced but not assigned.
#   73|   if aux have_cache 1 10 0 ; then
#   74|   
#   75|-> lvcreate -aey -l1 -n $lv1 $vg
#   76|   lvcreate -H -l2 $vg/$lv1
#   77|   

Error: SHELLCHECK_WARNING (CWE-563): [#def435]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def436]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-raid.sh:30:40: warning[SC2154]: lv2 is referenced but not assigned.
#   28|   # Bug 1110026 & Bug 1095843
#   29|   # Create RAID1 origin, then cache pool and cache
#   30|-> lvcreate -aey -l 2 --type raid1 -m1 -n $lv2 $vg
#   31|   lvcreate --cache -l 1 $vg/$lv2
#   32|   check lv_exists $vg/${lv2}_corig_rimage_0	# ensure images are properly renamed

Error: SHELLCHECK_WARNING (CWE-457): [#def437]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-raid.sh:30:45: warning[SC2154]: vg is referenced but not assigned.
#   28|   # Bug 1110026 & Bug 1095843
#   29|   # Create RAID1 origin, then cache pool and cache
#   30|-> lvcreate -aey -l 2 --type raid1 -m1 -n $lv2 $vg
#   31|   lvcreate --cache -l 1 $vg/$lv2
#   32|   check lv_exists $vg/${lv2}_corig_rimage_0	# ensure images are properly renamed

Error: SHELLCHECK_WARNING (CWE-563): [#def438]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-snapshot.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Exercise creation of snapshot of cached LV
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def439]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-snapshot.sh:26:32: warning[SC2154]: vg is referenced but not assigned.
#   24|   aux prepare_vg 2
#   25|   
#   26|-> lvcreate --type cache-pool -L1 $vg/cpool
#   27|   lvcreate -H -L4 -n $lv1 --cachepool $vg/cpool $vg
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def440]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-snapshot.sh:27:20: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   
#   26|   lvcreate --type cache-pool -L1 $vg/cpool
#   27|-> lvcreate -H -L4 -n $lv1 --cachepool $vg/cpool $vg
#   28|   
#   29|   lvcreate -s -L2 -n $lv2 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def441]
/usr/share/lvm2-testsuite/shell/lvcreate-cache-snapshot.sh:29:20: warning[SC2154]: lv2 is referenced but not assigned.
#   27|   lvcreate -H -L4 -n $lv1 --cachepool $vg/cpool $vg
#   28|   
#   29|-> lvcreate -s -L2 -n $lv2 $vg/$lv1
#   30|   check lv_field $vg/$lv1 segtype cache
#   31|   

Error: SHELLCHECK_WARNING (CWE-563): [#def442]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:19:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   
#   19|-> SKIP_WITH_LVMPOLLD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def443]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:36:26: warning[SC2154]: vg is referenced but not assigned.
#   34|   # TODO: Introduce  --pooldatasize
#   35|   # TODO: Policy to determine cache pool size and cache pool name
#   36|-> invalid lvcreate -H -l 1 $vg
#   37|   invalid lvcreate -H -l 1 --name $lv1 $vg
#   38|   invalid lvcreate -l 1 --cache $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def444]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:37:33: warning[SC2154]: lv1 is referenced but not assigned.
#   35|   # TODO: Policy to determine cache pool size and cache pool name
#   36|   invalid lvcreate -H -l 1 $vg
#   37|-> invalid lvcreate -H -l 1 --name $lv1 $vg
#   38|   invalid lvcreate -l 1 --cache $vg
#   39|   # Only cached volume could be created

Error: SHELLCHECK_WARNING (CWE-457): [#def445]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:48:30: warning[SC2154]: lv2 is referenced but not assigned.
#   46|   fail lvcreate -l 1 --cache $vg/pool3
#   47|   fail lvcreate -l 1 -H --cachepool pool4 $vg
#   48|-> fail lvcreate -l 1 -H --name $lv2 $vg/pool5
#   49|   fail lvcreate -l 1 -H --name $lv3 --cachepool $vg/pool6
#   50|   fail lvcreate -l 1 -H --name $vg/$lv4 --cachepool pool7

Error: SHELLCHECK_WARNING (CWE-457): [#def446]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:49:30: warning[SC2154]: lv3 is referenced but not assigned.
#   47|   fail lvcreate -l 1 -H --cachepool pool4 $vg
#   48|   fail lvcreate -l 1 -H --name $lv2 $vg/pool5
#   49|-> fail lvcreate -l 1 -H --name $lv3 --cachepool $vg/pool6
#   50|   fail lvcreate -l 1 -H --name $vg/$lv4 --cachepool pool7
#   51|   

Error: SHELLCHECK_WARNING (CWE-457): [#def447]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:50:34: warning[SC2154]: lv4 is referenced but not assigned.
#   48|   fail lvcreate -l 1 -H --name $lv2 $vg/pool5
#   49|   fail lvcreate -l 1 -H --name $lv3 --cachepool $vg/pool6
#   50|-> fail lvcreate -l 1 -H --name $vg/$lv4 --cachepool pool7
#   51|   
#   52|   # Unlike in thin pool case - cache pool and cache volume both need size arg.

Error: SHELLCHECK_WARNING (CWE-457): [#def448]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:219:29: warning[SC2154]: lv5 is referenced but not assigned.
#  217|   
#  218|   # read-only origin and -prw => conversion unsupported
#  219|-> lvcreate -an -pr -l1 -n $vg/$lv5
#  220|   fail lvcreate -H -l1 -prw -n cpool5 $vg/$lv5
#  221|   

Error: SHELLCHECK_WARNING (CWE-457): [#def449]
/usr/share/lvm2-testsuite/shell/lvcreate-cache.sh:224:24: warning[SC2154]: lv6 is referenced but not assigned.
#  222|   # cached volume respects permissions
#  223|   lvcreate --type cache-pool -l1 -n $vg/cpool
#  224|-> lvcreate -H -l1 -pr -n $lv6 $vg/cpool
#  225|   check lv_attr_bit perm $vg/cpool_cpool "w"
#  226|   check lv_attr_bit perm $vg/$lv6 "r"

Error: SHELLCHECK_WARNING (CWE-563): [#def450]
/usr/share/lvm2-testsuite/shell/lvcreate-external-dmeventd.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test check converted external origin remains monitored
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def451]
/usr/share/lvm2-testsuite/shell/lvcreate-external-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def452]
/usr/share/lvm2-testsuite/shell/lvcreate-external-dmeventd.sh:32:19: warning[SC2154]: vg is referenced but not assigned.
#   30|   
#   31|   # Test validation for external origin being multiple of thin pool chunk size
#   32|-> lvcreate -L10M -T $vg/pool
#   33|   
#   34|   # Create raid LV (needs monitoring) for external origin.

Error: SHELLCHECK_WARNING (CWE-457): [#def453]
/usr/share/lvm2-testsuite/shell/lvcreate-external-dmeventd.sh:35:21: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   
#   34|   # Create raid LV (needs monitoring) for external origin.
#   35|-> lvcreate -m1 -L1 -n $lv1 $vg
#   36|   
#   37|   lvconvert -T --thinpool $vg/pool --originname $lv2 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def454]
/usr/share/lvm2-testsuite/shell/lvcreate-external-dmeventd.sh:37:47: warning[SC2154]: lv2 is referenced but not assigned.
#   35|   lvcreate -m1 -L1 -n $lv1 $vg
#   36|   
#   37|-> lvconvert -T --thinpool $vg/pool --originname $lv2 $vg/$lv1
#   38|   
#   39|   # Check  raid LV now as external origing with $lv2 name is still monitored

Error: SHELLCHECK_WARNING (CWE-563): [#def455]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def456]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid.sh:34:19: warning[SC2154]: vg1 is referenced but not assigned.
#   32|   get_devs
#   33|   
#   34|-> vgcreate $SHARED "$vg1" "${DEVICES[@]}"
#   35|   
#   36|   aux lvmconf 'devices/issue_discards = 1'

Error: SHELLCHECK_WARNING (CWE-457): [#def457]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid.sh:51:39: warning[SC2154]: lv1 is referenced but not assigned.
#   49|   
#   50|   # 200 TiB raid1
#   51|-> lvcreate --type raid1 -m 1 -L 200T -n $lv1 $vg1 --nosync
#   52|   check lv_field $vg1/$lv1 size "200.00t"
#   53|   check raid_leg_status $vg1 $lv1 "AA"

Error: SHELLCHECK_WARNING (CWE-563): [#def458]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # 'Exercise some lvcreate diagnostics'
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def459]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def460]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:27:16: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   
#   26|   # Fake ~2.5PiB volume group $vg1 via snapshot LVs
#   27|-> for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|   	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T

Error: SHELLCHECK_WARNING (CWE-457): [#def461]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:27:23: warning[SC2154]: lv2 is referenced but not assigned.
#   25|   
#   26|   # Fake ~2.5PiB volume group $vg1 via snapshot LVs
#   27|-> for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|   	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T

Error: SHELLCHECK_WARNING (CWE-457): [#def462]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:27:30: warning[SC2154]: lv3 is referenced but not assigned.
#   25|   
#   26|   # Fake ~2.5PiB volume group $vg1 via snapshot LVs
#   27|-> for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|   	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T

Error: SHELLCHECK_WARNING (CWE-457): [#def463]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:27:37: warning[SC2154]: lv4 is referenced but not assigned.
#   25|   
#   26|   # Fake ~2.5PiB volume group $vg1 via snapshot LVs
#   27|-> for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|   	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T

Error: SHELLCHECK_WARNING (CWE-457): [#def464]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:27:44: warning[SC2154]: lv5 is referenced but not assigned.
#   25|   
#   26|   # Fake ~2.5PiB volume group $vg1 via snapshot LVs
#   27|-> for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|   	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T

Error: SHELLCHECK_WARNING (CWE-457): [#def465]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:29:52: warning[SC2154]: vg is referenced but not assigned.
#   27|   for device in "$lv1" "$lv2" "$lv3" "$lv4" "$lv5" 
#   28|   do
#   29|-> 	lvcreate --type snapshot -s -l 20%FREE -n $device $vg --virtualsize 520T
#   30|   done
#   31|   

Error: SHELLCHECK_WARNING (CWE-457): [#def466]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:34:28: warning[SC2154]: lv is referenced but not assigned.
#   32|   aux extend_filter_LVMTEST
#   33|   
#   34|-> pvcreate "$DM_DEV_DIR"/$vg/${lv}[12345]
#   35|   vgcreate $vg1 "$DM_DEV_DIR"/$vg/${lv}[12345]
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def467]
/usr/share/lvm2-testsuite/shell/lvcreate-large-raid10.sh:35:10: warning[SC2154]: vg1 is referenced but not assigned.
#   33|   
#   34|   pvcreate "$DM_DEV_DIR"/$vg/${lv}[12345]
#   35|-> vgcreate $vg1 "$DM_DEV_DIR"/$vg/${lv}[12345]
#   36|   
#   37|   

Error: SHELLCHECK_WARNING (CWE-563): [#def468]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # 'Exercise some lvcreate diagnostics'
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def469]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def470]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:25:44: warning[SC2154]: lv is referenced but not assigned.
#   23|   aux prepare_vg 4
#   24|   
#   25|-> lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize 1024T
#   26|   
#   27|   #FIXME this should be 1024T

Error: SHELLCHECK_WARNING (CWE-457): [#def471]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:25:48: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_vg 4
#   24|   
#   25|-> lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize 1024T
#   26|   
#   27|   #FIXME this should be 1024T

Error: SHELLCHECK_WARNING (CWE-457): [#def472]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:33:10: warning[SC2154]: vg1 is referenced but not assigned.
#   31|   
#   32|   pvcreate "$DM_DEV_DIR/$vg/$lv"
#   33|-> vgcreate $vg1 "$DM_DEV_DIR/$vg/$lv"
#   34|   
#   35|   lvcreate -l 100%FREE -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def473]
/usr/share/lvm2-testsuite/shell/lvcreate-large.sh:35:25: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   vgcreate $vg1 "$DM_DEV_DIR/$vg/$lv"
#   34|   
#   35|-> lvcreate -l 100%FREE -n $lv1 $vg1
#   36|   check lv_field $vg1/$lv1 size "1024.00t" --units t
#   37|   lvresize -f -l 72%VG $vg1/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def474]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def475]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:23:57: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   
#   22|   # 2-way mirror with corelog, 2 PVs
#   23|-> lvcreate -aey -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg "$dev1" "$dev2"
#   24|   check mirror_images_redundant $vg $lv1
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def476]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:23:62: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   # 2-way mirror with corelog, 2 PVs
#   23|-> lvcreate -aey -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg "$dev1" "$dev2"
#   24|   check mirror_images_redundant $vg $lv1
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def477]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:23:67: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   
#   22|   # 2-way mirror with corelog, 2 PVs
#   23|-> lvcreate -aey -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg "$dev1" "$dev2"
#   24|   check mirror_images_redundant $vg $lv1
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def478]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:23:75: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   
#   22|   # 2-way mirror with corelog, 2 PVs
#   23|-> lvcreate -aey -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg "$dev1" "$dev2"
#   24|   check mirror_images_redundant $vg $lv1
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def479]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:28:49: warning[SC2154]: lv2 is referenced but not assigned.
#   26|   # 2-way mirror with disklog, 3 PVs
#   27|   # lvcreate --nosync is in 100% sync after creation (bz429342)
#   28|-> lvcreate -aey -l2 --type mirror -m1 --nosync -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1 2>&1 | tee out
#   29|   grep "New mirror won't be synchronized." out
#   30|   check lv_field $vg/$lv2 copy_percent "100.00"

Error: SHELLCHECK_WARNING (CWE-457): [#def480]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:28:75: warning[SC2154]: dev3 is referenced but not assigned.
#   26|   # 2-way mirror with disklog, 3 PVs
#   27|   # lvcreate --nosync is in 100% sync after creation (bz429342)
#   28|-> lvcreate -aey -l2 --type mirror -m1 --nosync -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1 2>&1 | tee out
#   29|   grep "New mirror won't be synchronized." out
#   30|   check lv_field $vg/$lv2 copy_percent "100.00"

Error: SHELLCHECK_WARNING (CWE-457): [#def481]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:35:66: warning[SC2154]: lv3 is referenced but not assigned.
#   33|   
#   34|   # 3-way mirror with disklog, 4 PVs
#   35|-> lvcreate -aey -l2 --type mirror -m2 --nosync --mirrorlog disk -n $lv3 $vg "$dev1" "$dev2" "$dev4" "$dev3":0-1
#   36|   check mirror_images_redundant $vg $lv3
#   37|   check mirror_log_on $vg $lv3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def482]
/usr/share/lvm2-testsuite/shell/lvcreate-mirror.sh:35:92: warning[SC2154]: dev4 is referenced but not assigned.
#   33|   
#   34|   # 3-way mirror with disklog, 4 PVs
#   35|-> lvcreate -aey -l2 --type mirror -m2 --nosync --mirrorlog disk -n $lv3 $vg "$dev1" "$dev2" "$dev4" "$dev3":0-1
#   36|   check mirror_images_redundant $vg $lv3
#   37|   check mirror_log_on $vg $lv3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-563): [#def483]
/usr/share/lvm2-testsuite/shell/lvcreate-missing.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def484]
/usr/share/lvm2-testsuite/shell/lvcreate-missing.sh:20:18: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_vg 2
#   19|   
#   20|-> aux disable_dev "$dev1"
#   21|   
#   22|   not lvcreate -n "foo" $vg -l 1

Error: SHELLCHECK_WARNING (CWE-457): [#def485]
/usr/share/lvm2-testsuite/shell/lvcreate-missing.sh:22:23: warning[SC2154]: vg is referenced but not assigned.
#   20|   aux disable_dev "$dev1"
#   21|   
#   22|-> not lvcreate -n "foo" $vg -l 1
#   23|   
#   24|   aux enable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def486]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def487]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:23:15: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   cleanup_lvs() {
#   23|-> 	lvremove -ff $vg
#   24|   	(dm_table | not grep $vg) || \
#   25|   		die "ERROR: lvremove did leave some some mappings in DM behind!"

Error: SHELLCHECK_WARNING (CWE-457): [#def488]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:31:34: warning[SC2154]: dev1 is referenced but not assigned.
#   29|   get_devs
#   30|   
#   31|-> aux pvcreate --metadatacopies 0 "$dev1"
#   32|   aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   33|   

Error: SHELLCHECK_WARNING (CWE-457): [#def489]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:36:17: warning[SC2154]: lv1 is referenced but not assigned.
#   34|   # ---
#   35|   # Create snapshots of LVs on --metadatacopies 0 PV (bz450651)
#   36|-> lvcreate -aey -n$lv1 -l4 $vg "$dev1"
#   37|   lvcreate -n$lv2 -l4 -s $vg/$lv1
#   38|   lvcreate -n$lv3 -l4 --permission r -s $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def490]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:37:12: warning[SC2154]: lv2 is referenced but not assigned.
#   35|   # Create snapshots of LVs on --metadatacopies 0 PV (bz450651)
#   36|   lvcreate -aey -n$lv1 -l4 $vg "$dev1"
#   37|-> lvcreate -n$lv2 -l4 -s $vg/$lv1
#   38|   lvcreate -n$lv3 -l4 --permission r -s $vg/$lv1
#   39|   cleanup_lvs

Error: SHELLCHECK_WARNING (CWE-457): [#def491]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:38:12: warning[SC2154]: lv3 is referenced but not assigned.
#   36|   lvcreate -aey -n$lv1 -l4 $vg "$dev1"
#   37|   lvcreate -n$lv2 -l4 -s $vg/$lv1
#   38|-> lvcreate -n$lv3 -l4 --permission r -s $vg/$lv1
#   39|   cleanup_lvs
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def492]
/usr/share/lvm2-testsuite/shell/lvcreate-operation.sh:46:96: warning[SC2154]: dev2 is referenced but not assigned.
#   44|   # ---
#   45|   # Create mirror on two devices with mirrored log using --alloc anywhere - should always fail in cluster
#   46|-> not lvcreate --type mirror -m 1 -l4 -n $lv1 --mirrorlog mirrored $vg --alloc anywhere "$dev1" "$dev2"
#   47|   cleanup_lvs
#   48|   

Error: SHELLCHECK_WARNING (CWE-563): [#def493]
/usr/share/lvm2-testsuite/shell/lvcreate-pvtags.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def494]
/usr/share/lvm2-testsuite/shell/lvcreate-pvtags.sh:24:34: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   
#   23|   # not required, just testing
#   24|-> aux pvcreate --metadatacopies 0 "$dev1"
#   25|   
#   26|   vgcreate $SHARED "$vg" "${DEVICES[@]}"

Error: SHELLCHECK_WARNING (CWE-457): [#def495]
/usr/share/lvm2-testsuite/shell/lvcreate-pvtags.sh:26:19: warning[SC2154]: vg is referenced but not assigned.
#   24|   aux pvcreate --metadatacopies 0 "$dev1"
#   25|   
#   26|-> vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   27|   pvchange --addtag fast "${DEVICES[@]}"
#   28|   

Error: SHELLCHECK_WARNING (CWE-563): [#def496]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-nosync.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def497]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-nosync.sh:26:18: warning[SC2154]: dev1 is referenced but not assigned.
#   24|   
#   25|   _sync() {
#   26|-> 	aux enable_dev "$dev1"
#   27|   
#   28|   	aux wait_for_sync $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def498]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-nosync.sh:28:24: warning[SC2154]: lv1 is referenced but not assigned.
#   26|   	aux enable_dev "$dev1"
#   27|   
#   28|-> 	aux wait_for_sync $vg $lv1
#   29|   	test -z "$1" || check raid_leg_status $vg $lv1 $1
#   30|   	lvremove --yes $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def499]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-nosync.sh:42:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   40|   	local lv=$2
#   41|   	local health=$3
#   42|-> 	for i in {1..10} ; do
#   43|   		check raid_leg_status $vg $lv ${health} && return 0
#   44|   		sleep .05

Error: SHELLCHECK_WARNING (CWE-457): [#def500]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-nosync.sh:79:47: warning[SC2154]: lv2 is referenced but not assigned.
#   77|   
#   78|   	# raid4/5 support --nosync
#   79|-> 	lvcreate --type $r -Zn --nosync -i 3 -l 1 -n $lv2 $vg
#   80|   	_check_raid_in_loop $vg $lv2 "AAAA"
#   81|   	lvremove --yes $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def501]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-volume_list.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   # bz1161347 - When raid creation is aborted, left-over devices appear

Error: SHELLCHECK_WARNING (CWE-457): [#def502]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-volume_list.sh:27:27: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux prepare_pvs 2 # 2 devices for RAID1
#   26|   get_devs
#   27|-> vgcreate $SHARED -s 512k "$vg" "${DEVICES[@]}"
#   28|   
#   29|   aux lvmconf "activation/volume_list = [ \"vg_not_exist\" ]"

Error: SHELLCHECK_WARNING (CWE-457): [#def503]
/usr/share/lvm2-testsuite/shell/lvcreate-raid-volume_list.sh:35:41: warning[SC2154]: lv is referenced but not assigned.
#   33|   # activation/volume_list.  Check for any (Sub)LV remnants.
#   34|   ##########################################################
#   35|-> not lvcreate --yes --type raid1 -l 2 -n $lv $vg
#   36|   check lv_not_exists $vg/${lv}_rmeta_0
#   37|   check lv_not_exists $vg/${lv}_rmeta_1

Error: SHELLCHECK_WARNING (CWE-563): [#def504]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def505]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:33:27: warning[SC2154]: vg is referenced but not assigned.
#   31|   get_devs
#   32|   
#   33|-> vgcreate $SHARED -s 512k "$vg" "${DEVICES[@]}"
#   34|   
#   35|   ###########################################

Error: SHELLCHECK_WARNING (CWE-457): [#def506]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:39:31: warning[SC2154]: lv1 is referenced but not assigned.
#   37|   ###########################################
#   38|   # Create RAID1 (implicit 2-way)
#   39|-> lvcreate --type raid1 -l 2 -n $lv1 $vg
#   40|   aux wait_for_sync $vg $lv1
#   41|   lvremove -ff $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def507]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:117:42: warning[SC2154]: dev1 is referenced but not assigned.
#  115|   ###
#  116|   # For following tests eat 18 of 37 extents from dev1, leaving 19
#  117|-> lvcreate -l 18 -an -Zn -n eat_space $vg "$dev1"
#  118|   EAT_SIZE=$(get lv_field $vg/eat_space size)
#  119|   

Error: SHELLCHECK_WARNING (CWE-457): [#def508]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:123:70: warning[SC2154]: dev2 is referenced but not assigned.
#  121|   # 1 meta takes 1 extent
#  122|   # 1 image = 19 extents = 9.50m = lv_size
#  123|-> lvcreate --type raid1 -m 1 -l 100%FREE -an -Zn -n raid1 $vg "$dev1" "$dev2"
#  124|   check lv_field $vg/raid1 size "9.50m"
#  125|   # Ensure image size is the same as the RAID1 size

Error: SHELLCHECK_WARNING (CWE-457): [#def509]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:138:17: warning[SC2154]: dev6 is referenced but not assigned.
#  136|   check lv_field $vg/raid5 size "47.50m"
#  137|   # Amount remaining in dev6 should equal the amount taken by 'lv' in dev1
#  138|-> check pv_field "$dev6" pv_free "$EAT_SIZE"
#  139|   lvremove -ff $vg/raid5
#  140|   

Error: SHELLCHECK_WARNING (CWE-457): [#def510]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:175:52: warning[SC2154]: dev3 is referenced but not assigned.
#  173|   not lvcreate --type raid1 -l1 $vg "$dev1"
#  174|   not lvcreate --type raid5 -l2 $vg "$dev1" "$dev2"
#  175|-> not lvcreate --type raid6 -l3 $vg "$dev1" "$dev2" "$dev3" "$dev4"
#  176|   
#  177|   # Implicit count comes from #PVs given (always 2 for mirror though)

Error: SHELLCHECK_WARNING (CWE-457): [#def511]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:175:60: warning[SC2154]: dev4 is referenced but not assigned.
#  173|   not lvcreate --type raid1 -l1 $vg "$dev1"
#  174|   not lvcreate --type raid5 -l2 $vg "$dev1" "$dev2"
#  175|-> not lvcreate --type raid6 -l3 $vg "$dev1" "$dev2" "$dev3" "$dev4"
#  176|   
#  177|   # Implicit count comes from #PVs given (always 2 for mirror though)

Error: SHELLCHECK_WARNING (CWE-457): [#def512]
/usr/share/lvm2-testsuite/shell/lvcreate-raid.sh:182:81: warning[SC2154]: dev5 is referenced but not assigned.
#  180|   lvcreate --type raid5 -l2 -an -Zn -n raid5 $vg "$dev1" "$dev2" "$dev3"
#  181|   lv_devices $vg raid5 3
#  182|-> lvcreate --type raid6 -l3 -an -Zn -n raid6 $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#  183|   lv_devices $vg raid6 5
#  184|   lvremove -ff $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def513]
/usr/share/lvm2-testsuite/shell/lvcreate-raid1-read-error.sh:12:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   10|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   11|   
#   12|-> SKIP_WITH_LVMLOCKD=1
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|   

Error: SHELLCHECK_WARNING (CWE-563): [#def514]
/usr/share/lvm2-testsuite/shell/lvcreate-raid1-read-error.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   
#   12|   SKIP_WITH_LVMLOCKD=1
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def515]
/usr/share/lvm2-testsuite/shell/lvcreate-raid1-read-error.sh:26:60: warning[SC2154]: lv is referenced but not assigned.
#   24|   
#   25|   # Create 2-legged raid1 LV
#   26|-> lvcreate --yes --type raid1 --mirrors 1 --extents 1 --name $lv $vg
#   27|   aux wait_for_sync $vg $lv
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def516]
/usr/share/lvm2-testsuite/shell/lvcreate-raid1-read-error.sh:26:64: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   # Create 2-legged raid1 LV
#   26|-> lvcreate --yes --type raid1 --mirrors 1 --extents 1 --name $lv $vg
#   27|   aux wait_for_sync $vg $lv
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def517]
/usr/share/lvm2-testsuite/shell/lvcreate-raid1-read-error.sh:29:16: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   aux wait_for_sync $vg $lv
#   28|   
#   29|-> aux error_dev "$dev1" 20:500
#   30|   
#   31|   dd if="$DM_DEV_DIR/$vg/$lv" iflag=direct,fullblock of=/dev/zero bs=128K count=1

Error: SHELLCHECK_WARNING (CWE-563): [#def518]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def519]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:33:46: warning[SC2154]: lv1 is referenced but not assigned.
#   31|   
#   32|   # Should not allow more than 2-way mirror
#   33|-> not lvcreate --type raid10 -m 2 -i 2 -l 2 -n $lv1 $vg
#   34|   
#   35|   # 2-way mirror, 2-stripes

Error: SHELLCHECK_WARNING (CWE-457): [#def520]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:33:51: warning[SC2154]: vg is referenced but not assigned.
#   31|   
#   32|   # Should not allow more than 2-way mirror
#   33|-> not lvcreate --type raid10 -m 2 -i 2 -l 2 -n $lv1 $vg
#   34|   
#   35|   # 2-way mirror, 2-stripes

Error: SHELLCHECK_WARNING (CWE-457): [#def521]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:49:42: warning[SC2154]: lv2 is referenced but not assigned.
#   47|   
#   48|   # 2-way mirror, 3-stripes
#   49|-> lvcreate --type raid10 -m 1 -i 3 -l 3 -n $lv2 $vg
#   50|   aux wait_for_sync $vg $lv2
#   51|   

Error: SHELLCHECK_WARNING (CWE-457): [#def522]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:66:37: warning[SC2154]: dev1 is referenced but not assigned.
#   64|   
#   65|   # Not enough drives
#   66|-> not lvcreate --type raid10 -l2 $vg "$dev1" "$dev2" "$dev3"
#   67|   
#   68|   # Implicit count comes from #PVs given (always 2-way mirror)

Error: SHELLCHECK_WARNING (CWE-457): [#def523]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:66:45: warning[SC2154]: dev2 is referenced but not assigned.
#   64|   
#   65|   # Not enough drives
#   66|-> not lvcreate --type raid10 -l2 $vg "$dev1" "$dev2" "$dev3"
#   67|   
#   68|   # Implicit count comes from #PVs given (always 2-way mirror)

Error: SHELLCHECK_WARNING (CWE-457): [#def524]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:66:53: warning[SC2154]: dev3 is referenced but not assigned.
#   64|   
#   65|   # Not enough drives
#   66|-> not lvcreate --type raid10 -l2 $vg "$dev1" "$dev2" "$dev3"
#   67|   
#   68|   # Implicit count comes from #PVs given (always 2-way mirror)

Error: SHELLCHECK_WARNING (CWE-457): [#def525]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:70:75: warning[SC2154]: dev4 is referenced but not assigned.
#   68|   # Implicit count comes from #PVs given (always 2-way mirror)
#   69|   # Defaults -i2, which works with 4 PVs listed
#   70|-> lvcreate --type raid10 -l2 -an -Zn -n raid10 $vg "$dev1" "$dev2" "$dev3" "$dev4"
#   71|   lv_devices $vg raid10 4
#   72|   

Error: SHELLCHECK_WARNING (CWE-457): [#def526]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:74:85: warning[SC2154]: dev5 is referenced but not assigned.
#   72|   
#   73|   # Defaults -i2 even though more PVs listed
#   74|-> lvcreate --type raid10 -l2 -an -Zn -n raid10_6 $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   75|   lv_devices $vg raid10_6 4
#   76|   

Error: SHELLCHECK_WARNING (CWE-457): [#def527]
/usr/share/lvm2-testsuite/shell/lvcreate-raid10.sh:74:93: warning[SC2154]: dev6 is referenced but not assigned.
#   72|   
#   73|   # Defaults -i2 even though more PVs listed
#   74|-> lvcreate --type raid10 -l2 -an -Zn -n raid10_6 $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   75|   lv_devices $vg raid10_6 4
#   76|   

Error: SHELLCHECK_WARNING (CWE-563): [#def528]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def529]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:20:11: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   
#   19|   # fail multiple devices
#   20|-> for i in "$dev1" "$dev2" "$dev3" ; do
#   21|   	for j in "$dev2" "$dev3" ; do
#   22|   		if test "$i" = "$j" ; then continue ; fi

Error: SHELLCHECK_WARNING (CWE-457): [#def530]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:20:19: warning[SC2154]: dev2 is referenced but not assigned.
#   18|   
#   19|   # fail multiple devices
#   20|-> for i in "$dev1" "$dev2" "$dev3" ; do
#   21|   	for j in "$dev2" "$dev3" ; do
#   22|   		if test "$i" = "$j" ; then continue ; fi

Error: SHELLCHECK_WARNING (CWE-457): [#def531]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:20:27: warning[SC2154]: dev3 is referenced but not assigned.
#   18|   
#   19|   # fail multiple devices
#   20|-> for i in "$dev1" "$dev2" "$dev3" ; do
#   21|   	for j in "$dev2" "$dev3" ; do
#   22|   		if test "$i" = "$j" ; then continue ; fi

Error: SHELLCHECK_WARNING (CWE-457): [#def532]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:24:16: warning[SC2154]: vg is referenced but not assigned.
#   22|   		if test "$i" = "$j" ; then continue ; fi
#   23|   
#   24|-> 		vgremove -ff $vg
#   25|   		vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   26|   		# exit 1

Error: SHELLCHECK_WARNING (CWE-457): [#def533]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:28:19: warning[SC2154]: lv1 is referenced but not assigned.
#   26|   		# exit 1
#   27|   
#   28|-> 		lvcreate -l1 -n $lv1 $vg "$dev1"
#   29|   
#   30|   		aux disable_dev "$i" "$j"

Error: SHELLCHECK_WARNING (CWE-457): [#def534]
/usr/share/lvm2-testsuite/shell/lvcreate-repair.sh:37:19: warning[SC2154]: lv2 is referenced but not assigned.
#   35|   		test "$i" = "$dev1" && dm_table | not grep -E "$vg-$lv1: *[^ ]+"
#   36|   
#   37|-> 		lvcreate -l1 -n $lv2 $vg
#   38|   
#   39|   		test "$i" != "$dev1" && check lv_exists $vg $lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def535]
/usr/share/lvm2-testsuite/shell/lvcreate-signature-wiping.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def536]
/usr/share/lvm2-testsuite/shell/lvcreate-signature-wiping.sh:21:22: warning[SC2154]: vg is referenced but not assigned.
#   19|   
#   20|   init_lv_() {
#   21|-> 	mkswap "$DM_DEV_DIR/$vg/$lv1"
#   22|   }
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def537]
/usr/share/lvm2-testsuite/shell/lvcreate-signature-wiping.sh:21:26: warning[SC2154]: lv1 is referenced but not assigned.
#   19|   
#   20|   init_lv_() {
#   21|-> 	mkswap "$DM_DEV_DIR/$vg/$lv1"
#   22|   }
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def538]
/usr/share/lvm2-testsuite/shell/lvcreate-signature-wiping.sh:46:16: warning[SC2154]: dev1 is referenced but not assigned.
#   44|   
#   45|   # Zeroing stops the command when there is a failure (write error in this case)
#   46|-> aux error_dev "$dev1" "$(get first_extent_sector "$dev1"):8"
#   47|   not lvcreate -l1 -n $lv1 $vg 2>&1 | tee out
#   48|   grep "Failed to initialize" out

Error: SHELLCHECK_WARNING (CWE-563): [#def539]
/usr/share/lvm2-testsuite/shell/lvcreate-small-snap.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def540]
/usr/share/lvm2-testsuite/shell/lvcreate-small-snap.sh:21:25: warning[SC2154]: vg is referenced but not assigned.
#   19|   get_devs
#   20|   
#   21|-> vgcreate $SHARED -s 4k "$vg" "${DEVICES[@]}"
#   22|   
#   23|   # 3 Chunks

Error: SHELLCHECK_WARNING (CWE-563): [#def541]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def542]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:20:70: warning[SC2154]: lv1 is referenced but not assigned.
#   18|   aux prepare_vg 9
#   19|   
#   20|-> lvcreate -aey --nosync -i2 -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg 2>&1 | tee log
#   21|   not grep "Rounding" log
#   22|   check mirror_images_redundant $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def543]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:20:75: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 9
#   19|   
#   20|-> lvcreate -aey --nosync -i2 -l2 --type mirror -m1 --mirrorlog core -n $lv1 $vg 2>&1 | tee log
#   21|   not grep "Rounding" log
#   22|   check mirror_images_redundant $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def544]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:24:70: warning[SC2154]: lv2 is referenced but not assigned.
#   22|   check mirror_images_redundant $vg $lv1
#   23|   
#   24|-> lvcreate -aey --nosync -i2 -l4 --type mirror -m1 --mirrorlog core -n $lv2 $vg 2>&1 | tee log
#   25|   not grep "Rounding" log
#   26|   check mirror_images_redundant $vg $lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def545]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:28:70: warning[SC2154]: lv3 is referenced but not assigned.
#   26|   check mirror_images_redundant $vg $lv2
#   27|   
#   28|-> lvcreate -aey --nosync -i3 -l3 --type mirror -m1 --mirrorlog core -n $lv3 $vg 2>&1 | tee log
#   29|   not grep "Rounding" log
#   30|   check mirror_images_redundant $vg $lv3

Error: SHELLCHECK_WARNING (CWE-457): [#def546]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:32:70: warning[SC2154]: lv4 is referenced but not assigned.
#   30|   check mirror_images_redundant $vg $lv3
#   31|   
#   32|-> lvcreate -aey --nosync -i4 -l4 --type mirror -m1 --mirrorlog core -n $lv4 $vg 2>&1 | tee log
#   33|   not grep "Rounding" log
#   34|   check mirror_images_redundant $vg $lv4

Error: SHELLCHECK_WARNING (CWE-457): [#def547]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:36:70: warning[SC2154]: lv5 is referenced but not assigned.
#   34|   check mirror_images_redundant $vg $lv4
#   35|   
#   36|-> lvcreate -aey --nosync -i2 -l2 --type mirror -m2 --mirrorlog core -n $lv5 $vg 2>&1 | tee log
#   37|   not grep "Rounding" log
#   38|   check mirror_images_redundant $vg $lv5

Error: SHELLCHECK_WARNING (CWE-457): [#def548]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:40:70: warning[SC2154]: lv6 is referenced but not assigned.
#   38|   check mirror_images_redundant $vg $lv5
#   39|   
#   40|-> lvcreate -aey --nosync -i3 -l3 --type mirror -m2 --mirrorlog core -n $lv6 $vg 2>&1 | tee log
#   41|   not grep "Rounding" log
#   42|   check mirror_images_redundant $vg $lv6

Error: SHELLCHECK_WARNING (CWE-457): [#def549]
/usr/share/lvm2-testsuite/shell/lvcreate-striped-mirror.sh:44:70: warning[SC2154]: lv7 is referenced but not assigned.
#   42|   check mirror_images_redundant $vg $lv6
#   43|   
#   44|-> lvcreate -aey --nosync -i2 -l2 --type mirror -m3 --mirrorlog core -n $lv7 $vg 2>&1 | tee log
#   45|   not grep "Rounding" log
#   46|   check mirror_images_redundant $vg $lv7

Error: SHELLCHECK_WARNING (CWE-563): [#def550]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-big.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def551]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-big.sh:30:26: warning[SC2154]: vg is referenced but not assigned.
#   28|   get_devs
#   29|   
#   30|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   31|   
#   32|   # Size 0 is not valid

Error: SHELLCHECK_WARNING (CWE-457): [#def552]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-big.sh:48:29: warning[SC2154]: lv1 is referenced but not assigned.
#   46|   lvchange --errorwhenfull y $vg/pool3
#   47|   lvchange --zero n $vg/pool3
#   48|-> lvcreate -V10G $vg/pool3 -n $lv1
#   49|   lvcreate -V2G $vg/pool3 -n $lv2
#   50|   dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=512b count=1 conv=fdatasync

Error: SHELLCHECK_WARNING (CWE-457): [#def553]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-big.sh:49:28: warning[SC2154]: lv2 is referenced but not assigned.
#   47|   lvchange --zero n $vg/pool3
#   48|   lvcreate -V10G $vg/pool3 -n $lv1
#   49|-> lvcreate -V2G $vg/pool3 -n $lv2
#   50|   dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=512b count=1 conv=fdatasync
#   51|   # ...exercise write speed to 'zero' device ;)

Error: SHELLCHECK_WARNING (CWE-563): [#def554]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def555]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-cache.sh:33:26: warning[SC2154]: vg is referenced but not assigned.
#   31|   get_devs
#   32|   
#   33|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   34|   
#   35|   lvcreate -L10M -V10M -T $vg/pool --name $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def556]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-cache.sh:35:41: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   34|   
#   35|-> lvcreate -L10M -V10M -T $vg/pool --name $lv1
#   36|   
#   37|   lvcreate -H -L10 $vg/pool

Error: SHELLCHECK_WARNING (CWE-563): [#def557]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-size.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def558]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-size.sh:35:25: warning[SC2154]: vg is referenced but not assigned.
#   33|   
#   34|   # Use 8K extent size
#   35|-> vgcreate $SHARED -s 8K "$vg" "${DEVICES[@]}"
#   36|   
#   37|   # Prepare some numeric pattern with ~64K size

Error: SHELLCHECK_WARNING (CWE-457): [#def559]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-size.sh:40:21: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   seq -s ' ' -w 0 10922 > 64K
#   39|   
#   40|-> d1="$DM_DEV_DIR/$vg/$lv1"
#   41|   d2="$DM_DEV_DIR/$vg/$lv2"
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def560]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-size.sh:41:21: warning[SC2154]: lv2 is referenced but not assigned.
#   39|   
#   40|   d1="$DM_DEV_DIR/$vg/$lv1"
#   41|-> d2="$DM_DEV_DIR/$vg/$lv2"
#   42|   
#   43|   # Prepare external origin LV with size not being a multiple of thin pool chunk size

Error: SHELLCHECK_WARNING (CWE-563): [#def561]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def562]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:33:28: warning[SC2154]: lv1 is referenced but not assigned.
#   31|   
#   32|   # Create original thin pool with 1st. external origin LV using thin from this pool
#   33|-> lvcreate -T -L10M -V20M -n $lv1 $vg/pool1
#   34|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def563]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:33:33: warning[SC2154]: vg is referenced but not assigned.
#   31|   
#   32|   # Create original thin pool with 1st. external origin LV using thin from this pool
#   33|-> lvcreate -T -L10M -V20M -n $lv1 $vg/pool1
#   34|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def564]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:40:25: warning[SC2154]: lv2 is referenced but not assigned.
#   38|   lvchange -an $vg/$lv1
#   39|   lvchange -pr $vg/$lv1
#   40|-> lvcreate --type thin -n $lv2 --thinpool pool2 $vg/$lv1
#   41|   
#   42|   lvs -ao+uuid $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def565]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:50:25: warning[SC2154]: lv3 is referenced but not assigned.
#   48|   lvchange -pr $vg/$lv2
#   49|   lvs -a $vg
#   50|-> lvcreate --type thin -n $lv3 --thinpool pool3 $vg/$lv2
#   51|   
#   52|   fsck -n "$DM_DEV_DIR/$vg/$lv3"

Error: SHELLCHECK_WARNING (CWE-457): [#def566]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external-stack.sh:58:25: warning[SC2154]: lv4 is referenced but not assigned.
#   56|   lvchange -an $vg/$lv3
#   57|   lvchange -pr $vg/$lv3
#   58|-> lvcreate --type thin -n $lv4 --thinpool pool4 $vg/$lv3
#   59|   
#   60|   lvs -a $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def567]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def568]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:33:26: warning[SC2154]: vg is referenced but not assigned.
#   31|   get_devs
#   32|   
#   33|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   34|   
#   35|   # Newer thin-pool target (>= 1.13) supports unaligned external origin

Error: SHELLCHECK_WARNING (CWE-457): [#def569]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:41:29: warning[SC2154]: lv1 is referenced but not assigned.
#   39|   # Test validation for external origin being multiple of thin pool chunk size
#   40|   lvcreate -L10M -T $vg/pool192 -c 192k
#   41|-> lvcreate -an -pr -Zn -l1 -n $lv1 $vg
#   42|   not lvcreate -s $vg/$lv1 --thinpool $vg/pool192
#   43|   

Error: SHELLCHECK_WARNING (CWE-457): [#def570]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:44:29: warning[SC2154]: lv2 is referenced but not assigned.
#   42|   not lvcreate -s $vg/$lv1 --thinpool $vg/pool192
#   43|   
#   44|-> lvcreate -an -pr -Zn -l5 -n $lv2 $vg
#   45|   not lvcreate -s $vg/$lv2 --thinpool $vg/pool192
#   46|   lvremove -f $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def571]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:71:21: warning[SC2154]: lv5 is referenced but not assigned.
#   69|   
#   70|   # Fail with --thin and --snapshot
#   71|-> not lvcreate -s $vg/$lv5 --name $vg/$lv7 -T $vg/newpool
#   72|   
#   73|   # Cannot specify size and thin pool.

Error: SHELLCHECK_WARNING (CWE-457): [#def572]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:71:37: warning[SC2154]: lv7 is referenced but not assigned.
#   69|   
#   70|   # Fail with --thin and --snapshot
#   71|-> not lvcreate -s $vg/$lv5 --name $vg/$lv7 -T $vg/newpool
#   72|   
#   73|   # Cannot specify size and thin pool.

Error: SHELLCHECK_WARNING (CWE-457): [#def573]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:76:44: warning[SC2154]: lv3 is referenced but not assigned.
#   74|   # TODO: maybe with --poolsize
#   75|   invalid lvcreate -s $vg/$lv2 -L10 --thinpool $vg/pool
#   76|-> invalid lvcreate -s -K $vg/$lv2 --name $vg/$lv3 -L20 --chunksize 128 --thinpool $vg/newpool
#   77|   
#   78|   not lvcreate -s $vg/$lv2 --chunksize 64 --thinpool $vg/pool

Error: SHELLCHECK_WARNING (CWE-457): [#def574]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:87:36: warning[SC2154]: lv4 is referenced but not assigned.
#   85|   # Create pool and snap
#   86|   lvcreate -T --name $vg/$lv3 -V10 -L20 --chunksize 128 --thinpool $vg/newpool
#   87|-> lvcreate -s -K $vg/$lv3 --name $vg/$lv4
#   88|   lvcreate -s -K $vg/$lv2 --name $vg/$lv5 --thinpool $vg/newpool
#   89|   # Make normal thin snapshot

Error: SHELLCHECK_WARNING (CWE-457): [#def575]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:90:36: warning[SC2154]: lv6 is referenced but not assigned.
#   88|   lvcreate -s -K $vg/$lv2 --name $vg/$lv5 --thinpool $vg/newpool
#   89|   # Make normal thin snapshot
#   90|-> lvcreate -s -K $vg/$lv5 --name $vg/$lv6
#   91|   # We do not need to specify thinpool when doing thin snap, but it should work
#   92|   lvcreate -s -K $vg/$lv5 --name $vg/$lv7 --thinpool $vg/newpool

Error: SHELLCHECK_WARNING (CWE-457): [#def576]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-external.sh:96:36: warning[SC2154]: lv8 is referenced but not assigned.
#   94|   check inactive $vg $lv2
#   95|   lvchange -ay $vg/$lv2
#   96|-> lvcreate -s -K $vg/$lv2 --name $vg/$lv8 --thinpool $vg/newpool
#   97|   
#   98|   lvs -o+chunksize $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def577]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-limits.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # test allocation of thin-pool on limiting extents number
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def578]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-limits.sh:35:25: warning[SC2154]: vg is referenced but not assigned.
#   33|   
#   34|   # gives 16777215M device
#   35|-> vgcreate $SHARED -s 4M "$vg" "${DEVICES[@]}"
#   36|   
#   37|   # For 1st. pass only single PV

Error: SHELLCHECK_WARNING (CWE-457): [#def579]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-limits.sh:38:26: warning[SC2154]: lv1 is referenced but not assigned.
#   36|   
#   37|   # For 1st. pass only single PV
#   38|-> lvcreate -l100%PV --name $lv1 $vg "$dev2"
#   39|   
#   40|   for i in 1 0

Error: SHELLCHECK_WARNING (CWE-457): [#def580]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-limits.sh:38:36: warning[SC2154]: dev2 is referenced but not assigned.
#   36|   
#   37|   # For 1st. pass only single PV
#   38|-> lvcreate -l100%PV --name $lv1 $vg "$dev2"
#   39|   
#   40|   for i in 1 0

Error: SHELLCHECK_WARNING (CWE-563): [#def581]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-power2.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def582]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-power2.sh:31:26: warning[SC2154]: vg is referenced but not assigned.
#   29|   get_devs
#   30|   
#   31|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   32|   
#   33|   # create non-power-of-2 pool

Error: SHELLCHECK_WARNING (CWE-563): [#def583]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def584]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:26:19: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   	for d in "$@"; do
#   26|-> 		check lv_field "$vg/$d" modules "$mod"
#   27|   	done
#   28|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def585]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:42:41: warning[SC2154]: lv1 is referenced but not assigned.
#   40|   vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   41|   
#   42|-> lvcreate -L10M -V10M -T $vg/pool --name $lv1
#   43|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
#   44|   # create read-only thin snapshot of thin LV

Error: SHELLCHECK_WARNING (CWE-457): [#def586]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:48:32: warning[SC2154]: lv2 is referenced but not assigned.
#   46|   # check snapshot filesystem was properly frozen before snapping
#   47|   fsck -n "$DM_DEV_DIR/$vg/snap"
#   48|-> lvcreate -K -s $vg/$lv1 --name $lv2
#   49|   lvcreate -K -s $vg/$lv1 --name $vg/$lv3
#   50|   # old-snapshot without known size is invalid

Error: SHELLCHECK_WARNING (CWE-457): [#def587]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:49:36: warning[SC2154]: lv3 is referenced but not assigned.
#   47|   fsck -n "$DM_DEV_DIR/$vg/snap"
#   48|   lvcreate -K -s $vg/$lv1 --name $lv2
#   49|-> lvcreate -K -s $vg/$lv1 --name $vg/$lv3
#   50|   # old-snapshot without known size is invalid
#   51|   invalid lvcreate --type snapshot $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def588]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:52:50: warning[SC2154]: lv4 is referenced but not assigned.
#   50|   # old-snapshot without known size is invalid
#   51|   invalid lvcreate --type snapshot $vg/$lv1
#   52|-> invalid lvcreate --type snapshot $vg/$lv1 --name $lv4
#   53|   invalid lvcreate --type snapshot $vg/$lv1 --name $vg/$lv5
#   54|   # some other ways how to take a thin snapshot

Error: SHELLCHECK_WARNING (CWE-457): [#def589]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-snap.sh:53:54: warning[SC2154]: lv5 is referenced but not assigned.
#   51|   invalid lvcreate --type snapshot $vg/$lv1
#   52|   invalid lvcreate --type snapshot $vg/$lv1 --name $lv4
#   53|-> invalid lvcreate --type snapshot $vg/$lv1 --name $vg/$lv5
#   54|   # some other ways how to take a thin snapshot
#   55|   lvcreate -T $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def590]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-vdo.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # testing the create of thin-pool with data volume using vdo volume
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def591]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-vdo.sh:32:18: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   # Prepare some 'existing' fs signature, should be at location
#   31|   # used by later lvcreate --type thin-pool
#   32|-> lvcreate -L5m -n $lv1 $vg
#   33|   lvcreate -L5G -n $lv2 $vg
#   34|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv2"

Error: SHELLCHECK_WARNING (CWE-457): [#def592]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-vdo.sh:32:23: warning[SC2154]: vg is referenced but not assigned.
#   30|   # Prepare some 'existing' fs signature, should be at location
#   31|   # used by later lvcreate --type thin-pool
#   32|-> lvcreate -L5m -n $lv1 $vg
#   33|   lvcreate -L5G -n $lv2 $vg
#   34|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv2"

Error: SHELLCHECK_WARNING (CWE-457): [#def593]
/usr/share/lvm2-testsuite/shell/lvcreate-thin-vdo.sh:33:18: warning[SC2154]: lv2 is referenced but not assigned.
#   31|   # used by later lvcreate --type thin-pool
#   32|   lvcreate -L5m -n $lv1 $vg
#   33|-> lvcreate -L5G -n $lv2 $vg
#   34|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv2"
#   35|   lvremove -f $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def594]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def595]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:29:18: warning[SC2154]: vg is referenced but not assigned.
#   27|   
#   28|   	for d in "$@"; do
#   29|-> 		check lv_field $vg/$d modules $mod
#   30|   	done
#   31|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def596]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:204:23: warning[SC2154]: dev1 is referenced but not assigned.
#  202|   
#  203|   # Check how allocator works with 2PVs where one is nearly full
#  204|-> lvcreate -l99%PV $vg "$dev1"
#  205|   lvs -a $vg
#  206|   # Check when separate metadata is required, allocation needs to fail

Error: SHELLCHECK_WARNING (CWE-457): [#def597]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:224:54: warning[SC2154]: lv is referenced but not assigned.
#  222|   
#  223|   # FIXME: Currently ambiguous - is it for thin, thin-pool, both ?
#  224|-> fail lvcreate -L4M -Mn -m0 -T --readahead 32 -V20 -n $lv $vg/pool_normal
#  225|   
#  226|   # Check read-ahead setting will also pass with -Mn -m0

Error: SHELLCHECK_WARNING (CWE-457): [#def598]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:254:18: warning[SC2154]: lv1 is referenced but not assigned.
#  252|   # Check pool metadata volume is zeroed, when zero_metadata is enabled.
#  253|   # 1st. ensure 8megs of both PVs will have some non-0 data
#  254|-> lvcreate -L8m -n $lv1 $vg "$dev1"
#  255|   lvextend -L+8m $vg/$lv1 "$dev2"
#  256|   dd if=/dev/urandom of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=16 oflag=direct conv=fdatasync

Error: SHELLCHECK_WARNING (CWE-457): [#def599]
/usr/share/lvm2-testsuite/shell/lvcreate-thin.sh:255:26: warning[SC2154]: dev2 is referenced but not assigned.
#  253|   # 1st. ensure 8megs of both PVs will have some non-0 data
#  254|   lvcreate -L8m -n $lv1 $vg "$dev1"
#  255|-> lvextend -L+8m $vg/$lv1 "$dev2"
#  256|   dd if=/dev/urandom of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=16 oflag=direct conv=fdatasync
#  257|   lvremove -ff $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def600]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:20:34: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   get_devs
#   19|   
#   20|-> aux pvcreate --metadatacopies 0 "$dev1"
#   21|   aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def601]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:21:23: warning[SC2154]: vg is referenced but not assigned.
#   19|   
#   20|   aux pvcreate --metadatacopies 0 "$dev1"
#   21|-> aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   22|   
#   23|   invalid lvcreate --type free -l1 -n $lv1 $vg 2>err

Error: SHELLCHECK_WARNING (CWE-457): [#def602]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:23:37: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   22|   
#   23|-> invalid lvcreate --type free -l1 -n $lv1 $vg 2>err
#   24|   grep "Invalid argument for --type" err
#   25|   invalid lvcreate --type $RANDOM -l1 -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def603]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:28:44: warning[SC2154]: lv is referenced but not assigned.
#   26|   invalid lvcreate --type unknown -l1 -n $lv1 $vg
#   27|   
#   28|-> invalid lvcreate -L10000000000000000000 -n $lv $vg 2>&1 | tee err
#   29|   grep "Size is too big" err
#   30|   invalid lvcreate -L+-10 -n $lv $vg 2>&1 | tee err

Error: SHELLCHECK_WARNING (CWE-457): [#def604]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:38:33: warning[SC2154]: lv2 is referenced but not assigned.
#   36|   
#   37|   lvcreate --type linear -aey -m0 -l1 -n $lv1 $vg
#   38|-> lvcreate --type snapshot -l1 -n $lv2 $vg/$lv1
#   39|   # Supporting decimal point with size
#   40|   lvcreate -L.1 -n $lv3 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def605]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:40:18: warning[SC2154]: lv3 is referenced but not assigned.
#   38|   lvcreate --type snapshot -l1 -n $lv2 $vg/$lv1
#   39|   # Supporting decimal point with size
#   40|-> lvcreate -L.1 -n $lv3 $vg
#   41|   
#   42|   # Reject repeated invocation (run 2 times) (bz178216)

Error: SHELLCHECK_WARNING (CWE-457): [#def606]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:87:22: warning[SC2154]: lv4 is referenced but not assigned.
#   85|   lvcreate -l1 -s -n $lv2 $vg/$lv1
#   86|   lvcreate -l1 -n $lv3 $vg
#   87|-> fail lvcreate -l1 -n $lv4 $vg
#   88|   lvremove -ff $vg/$lv3
#   89|   

Error: SHELLCHECK_WARNING (CWE-457): [#def607]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:185:25: warning[SC2154]: lv5 is referenced but not assigned.
#  183|   test "$RASZ" -ge 128 || RASZ="128"
#  184|   check lv_field $vg/$lv4 lv_kernel_read_ahead "${RASZ}.00k" --units k
#  185|-> lvcreate -vvvvv -L 8 -n $lv5 -i2 --stripesize 16k --readahead auto $vg
#  186|   check lv_field $vg/$lv5 lv_read_ahead "auto"
#  187|   # For 16k stripe we set '128k' as the is the minimum size we get when creating DM device

Error: SHELLCHECK_WARNING (CWE-457): [#def608]
/usr/share/lvm2-testsuite/shell/lvcreate-usage.sh:189:18: warning[SC2154]: lv6 is referenced but not assigned.
#  187|   # For 16k stripe we set '128k' as the is the minimum size we get when creating DM device
#  188|   check lv_field $vg/$lv5 lv_kernel_read_ahead "128.00k" --units k
#  189|-> lvcreate -L 8 -n $lv6 -i2 --stripesize 128k --readahead auto $vg
#  190|   check lv_field $vg/$lv6 lv_read_ahead "auto"
#  191|   # For striped device we set double of strip size unrelated to underlying dev RA size

Error: SHELLCHECK_WARNING (CWE-563): [#def609]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def610]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo-cache.sh:35:33: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   aux prepare_vg 1 9000
#   34|   
#   35|-> lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool
#   36|   # Test caching VDOPoolLV
#   37|   lvcreate -H -L10 $vg/vpool

Error: SHELLCHECK_WARNING (CWE-457): [#def611]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo-cache.sh:35:38: warning[SC2154]: vg is referenced but not assigned.
#   33|   aux prepare_vg 1 9000
#   34|   
#   35|-> lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool
#   36|   # Test caching VDOPoolLV
#   37|   lvcreate -H -L10 $vg/vpool

Error: SHELLCHECK_WARNING (CWE-563): [#def612]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   

Error: SHELLCHECK_WARNING (CWE-457): [#def613]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo.sh:37:26: warning[SC2154]: vg is referenced but not assigned.
#   35|   #	'allocation/vdo_cpu_threads = 1'
#   36|   
#   37|-> vgcreate $SHARED -s 64K "$vg" "${DEVICES[@]}"
#   38|   
#   39|   # Create VDO device  (vdo-pool is ATM internal volume type)

Error: SHELLCHECK_WARNING (CWE-457): [#def614]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo.sh:40:29: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   
#   39|   # Create VDO device  (vdo-pool is ATM internal volume type)
#   40|-> lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 >out 2>&1
#   41|   # new vdoformat prints some more info
#   42|   if grep "data slabs" out ; then

Error: SHELLCHECK_WARNING (CWE-457): [#def615]
/usr/share/lvm2-testsuite/shell/lvcreate-vdo.sh:40:38: warning[SC2154]: lv2 is referenced but not assigned.
#   38|   
#   39|   # Create VDO device  (vdo-pool is ATM internal volume type)
#   40|-> lvcreate --type vdo -L4G -n $lv1 $vg/$lv2 >out 2>&1
#   41|   # new vdoformat prints some more info
#   42|   if grep "data slabs" out ; then

Error: SHELLCHECK_WARNING (CWE-563): [#def616]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   #
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def617]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:26:39: warning[SC2154]: lv is referenced but not assigned.
#   24|   
#   25|   # raid0 losing a leg
#   26|-> lvcreate -aey --type raid0 -i5 -l5 -n $lv $vg
#   27|   lvdisplay $vg/$lv|grep "LV Status *available"
#   28|   aux disable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def618]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:26:43: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   # raid0 losing a leg
#   26|-> lvcreate -aey --type raid0 -i5 -l5 -n $lv $vg
#   27|   lvdisplay $vg/$lv|grep "LV Status *available"
#   28|   aux disable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def619]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:28:18: warning[SC2154]: dev1 is referenced but not assigned.
#   26|   lvcreate -aey --type raid0 -i5 -l5 -n $lv $vg
#   27|   lvdisplay $vg/$lv|grep "LV Status *available"
#   28|-> aux disable_dev "$dev1"
#   29|   lvdisplay $vg/$lv|grep "LV Status *NOT available (partial)"
#   30|   aux enable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def620]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:34:56: warning[SC2154]: dev2 is referenced but not assigned.
#   32|   
#   33|   # raid1 losing a leg/all legs
#   34|-> lvcreate -aey --type raid1 -m1 -l5 -n $lv $vg "$dev1" "$dev2"
#   35|   lvdisplay $vg/$lv|grep "LV Status *available"
#   36|   aux disable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def621]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:60:18: warning[SC2154]: dev3 is referenced but not assigned.
#   58|   aux disable_dev "$dev2"
#   59|   lvdisplay $vg/$lv|grep "LV Status *available (partial)"
#   60|-> aux disable_dev "$dev3"
#   61|   lvdisplay $vg/$lv|grep "LV Status *NOT available (partial)"
#   62|   aux enable_dev "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def622]
/usr/share/lvm2-testsuite/shell/lvdisplay-raid.sh:72:18: warning[SC2154]: dev6 is referenced but not assigned.
#   70|   aux disable_dev "$dev3"
#   71|   lvdisplay $vg/$lv|grep "LV Status *available (partial)"
#   72|-> aux disable_dev "$dev6"
#   73|   lvdisplay $vg/$lv|grep "LV Status *available (partial)"
#   74|   aux enable_dev "$dev1" "$dev3" "$dev6"

Error: SHELLCHECK_WARNING (CWE-563): [#def623]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   # lvextend thin pool data that has cache|writecache attached

Error: SHELLCHECK_WARNING (CWE-457): [#def624]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:25:15: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   	# create some initial data
#   25|-> 	lvchange -ay $vg/$lvt
#   26|   	mkfs.xfs -f -s size=4096 "$DM_DEV_DIR/$vg/$lvt"
#   27|   	mount "$DM_DEV_DIR/$vg/$lvt" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def625]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:33:35: warning[SC2154]: dev4 is referenced but not assigned.
#   31|   
#   32|   	# extend while mounted
#   33|-> 	lvextend -L+64M $vg/${tp}_tdata "$dev4"
#   34|   	lvs -a $vg -o+devices
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def626]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:63:35: warning[SC2154]: dev5 is referenced but not assigned.
#   61|   	lvchange -an $vg/$lvt
#   62|   	lvchange -an $vg/$tp
#   63|-> 	lvextend -L+64M $vg/${tp}_tdata "$dev5"
#   64|   	lvs -a $vg -o+devices
#   65|   	lvchange -ay $vg/$lvt

Error: SHELLCHECK_WARNING (CWE-457): [#def627]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:122:15: warning[SC2154]: dev1 is referenced but not assigned.
#  120|   
#  121|   # Tests with fs block sizes require a libblkid version that shows BLOCK_SIZE
#  122|-> vgcreate $vg "$dev1"
#  123|   lvcreate -n $lv1 -L300 $vg
#  124|   mkfs.xfs -f "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def628]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:123:13: warning[SC2154]: lv1 is referenced but not assigned.
#  121|   # Tests with fs block sizes require a libblkid version that shows BLOCK_SIZE
#  122|   vgcreate $vg "$dev1"
#  123|-> lvcreate -n $lv1 -L300 $vg
#  124|   mkfs.xfs -f "$DM_DEV_DIR/$vg/$lv1"
#  125|   blkid -p "$DM_DEV_DIR/$vg/$lv1" | grep BLOCK_SIZE || skip

Error: SHELLCHECK_WARNING (CWE-457): [#def629]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:132:31: warning[SC2154]: dev2 is referenced but not assigned.
#  130|   dd if=/dev/urandom of=pattern bs=512K count=1
#  131|   
#  132|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  133|   
#  134|   # test extending cache|writecache on thin pool data

Error: SHELLCHECK_WARNING (CWE-457): [#def630]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:132:39: warning[SC2154]: dev3 is referenced but not assigned.
#  130|   dd if=/dev/urandom of=pattern bs=512K count=1
#  131|   
#  132|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  133|   
#  134|   # test extending cache|writecache on thin pool data

Error: SHELLCHECK_WARNING (CWE-457): [#def631]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:132:63: warning[SC2154]: dev6 is referenced but not assigned.
#  130|   dd if=/dev/urandom of=pattern bs=512K count=1
#  131|   
#  132|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  133|   
#  134|   # test extending cache|writecache on thin pool data

Error: SHELLCHECK_WARNING (CWE-457): [#def632]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:145:25: warning[SC2154]: lv3 is referenced but not assigned.
#  143|   # attach writecache to thinpool data
#  144|   lvcreate --type thin-pool -n $lv1 -L228M --poolmetadataspare n $vg "$dev1" "$dev2"
#  145|-> lvcreate --type thin -n $lv3 -V1G --thinpool $lv1 $vg
#  146|   lvcreate -n $lv2 -L64M -an $vg "$dev3"
#  147|   lvconvert -y --type writecache --cachevol $lv2 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def633]
/usr/share/lvm2-testsuite/shell/lvextend-caches-on-thindata.sh:146:13: warning[SC2154]: lv2 is referenced but not assigned.
#  144|   lvcreate --type thin-pool -n $lv1 -L228M --poolmetadataspare n $vg "$dev1" "$dev2"
#  145|   lvcreate --type thin -n $lv3 -V1G --thinpool $lv1 $vg
#  146|-> lvcreate -n $lv2 -L64M -an $vg "$dev3"
#  147|   lvconvert -y --type writecache --cachevol $lv2 $vg/$lv1
#  148|   lvs -a $vg -o+devices

Error: SHELLCHECK_WARNING (CWE-563): [#def634]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   # lvextend LV with cache|writecache

Error: SHELLCHECK_WARNING (CWE-457): [#def635]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:26:15: warning[SC2154]: vg is referenced but not assigned.
#   24|   {
#   25|   	# create some initial data
#   26|-> 	lvchange -ay $vg/$lv1
#   27|   	mkfs.xfs -f -s size=4096 "$DM_DEV_DIR/$vg/$lv1"
#   28|   	mount "$DM_DEV_DIR/$vg/$lv1" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def636]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:26:19: warning[SC2154]: lv1 is referenced but not assigned.
#   24|   {
#   25|   	# create some initial data
#   26|-> 	lvchange -ay $vg/$lv1
#   27|   	mkfs.xfs -f -s size=4096 "$DM_DEV_DIR/$vg/$lv1"
#   28|   	mount "$DM_DEV_DIR/$vg/$lv1" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def637]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:34:28: warning[SC2154]: dev4 is referenced but not assigned.
#   32|   
#   33|   	# extend while mounted
#   34|-> 	lvextend -L+64M $vg/$lv1 "$dev4"
#   35|   	lvs -a $vg -o+devices
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def638]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:62:28: warning[SC2154]: dev5 is referenced but not assigned.
#   60|   	umount "$mount_dir"
#   61|   	lvchange -an $vg/$lv1
#   62|-> 	lvextend -L+64M $vg/$lv1 "$dev5"
#   63|   	lvs -a $vg -o+devices
#   64|   	lvchange -ay $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def639]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:120:23: warning[SC2154]: dev1 is referenced but not assigned.
#  118|   dd if=/dev/urandom of=pattern bs=512K count=1
#  119|   
#  120|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  121|   
#  122|   # test type cache|writecache

Error: SHELLCHECK_WARNING (CWE-457): [#def640]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:120:31: warning[SC2154]: dev2 is referenced but not assigned.
#  118|   dd if=/dev/urandom of=pattern bs=512K count=1
#  119|   
#  120|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  121|   
#  122|   # test type cache|writecache

Error: SHELLCHECK_WARNING (CWE-457): [#def641]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:120:39: warning[SC2154]: dev3 is referenced but not assigned.
#  118|   dd if=/dev/urandom of=pattern bs=512K count=1
#  119|   
#  120|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  121|   
#  122|   # test type cache|writecache

Error: SHELLCHECK_WARNING (CWE-457): [#def642]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:120:63: warning[SC2154]: dev6 is referenced but not assigned.
#  118|   dd if=/dev/urandom of=pattern bs=512K count=1
#  119|   
#  120|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#  121|   
#  122|   # test type cache|writecache

Error: SHELLCHECK_WARNING (CWE-457): [#def643]
/usr/share/lvm2-testsuite/shell/lvextend-caches.sh:130:13: warning[SC2154]: lv2 is referenced but not assigned.
#  128|   
#  129|   lvcreate -n $lv1 -L300M -an $vg "$dev1" "$dev2"
#  130|-> lvcreate -n $lv2 -L64M -an $vg "$dev3"
#  131|   lvconvert -y --type writecache --cachevol $lv2 $vg/$lv1
#  132|   lvs -a $vg -o+devices

Error: SHELLCHECK_WARNING (CWE-563): [#def644]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def645]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:23:23: warning[SC2154]: vg is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   24|   
#   25|   lvcreate -L64 -n $lv $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def646]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:25:18: warning[SC2154]: lv is referenced but not assigned.
#   23|   aux vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   24|   
#   25|-> lvcreate -L64 -n $lv $vg
#   26|   
#   27|   # 'lvextend rejects both size and extents without PVs'

Error: SHELLCHECK_WARNING (CWE-457): [#def647]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:32:36: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   
#   31|   # 'lvextend rejects both size and extents with PVs'
#   32|-> not lvextend -l 10 -L 64m $vg/$lv "$dev1" 2>err
#   33|   grep "Please specify either size or extents but not both." err
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def648]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:53:39: warning[SC2154]: dev2 is referenced but not assigned.
#   51|   
#   52|   # 'lvextend accepts no size but extents 100%PVS and two PVs - bz154691'
#   53|-> lvextend -l +100%PVS $vg/$lv "$dev1" "$dev2" | tee out
#   54|   grep "Logical volume $vg/$lv successfully resized" out
#   55|   check pv_field "$dev1" pv_free "0"

Error: SHELLCHECK_WARNING (CWE-563): [#def649]
/usr/share/lvm2-testsuite/shell/lvextend-percent-extents.sh:99:1: warning[SC2034]: segsize appears unused. Verify use (or export if used externally).
#   97|   lvcreate -l $pe1 -n $lv $vg
#   98|   pesize=$(get lv_field $vg/$lv vg_extent_size --units b --nosuffix)
#   99|-> segsize=$(( pe1 * pesize / 1024 / 1024 ))m
#  100|   check lv_field $vg/$lv seg_count "1"
#  101|   check lv_field $vg/$lv seg_start "0"

Error: SHELLCHECK_WARNING (CWE-563): [#def650]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def651]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:35:16: warning[SC2154]: vg is referenced but not assigned.
#   33|   aux prepare_pvs 2 $(( lvsz + 3 *  lvext ))
#   34|   get_devs
#   35|-> vgcreate -s 4k $vg ${DEVICES[@]}
#   36|   
#   37|   # Keep $dev1 & $dev2 always open via small active LVs.

Error: SHELLCHECK_WARNING (CWE-88): [#def652]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:35:20: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#   33|   aux prepare_pvs 2 $(( lvsz + 3 *  lvext ))
#   34|   get_devs
#   35|-> vgcreate -s 4k $vg ${DEVICES[@]}
#   36|   
#   37|   # Keep $dev1 & $dev2 always open via small active LVs.

Error: SHELLCHECK_WARNING (CWE-457): [#def653]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:40:19: warning[SC2154]: dev1 is referenced but not assigned.
#   38|   # This trick avoids race on system with scanning udev service
#   39|   # when device is 'in-use' and we cleared _rimage & _rmeta.
#   40|-> lvcreate -l1 $vg "$dev1"
#   41|   lvcreate -l1 $vg "$dev2"
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def654]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:41:19: warning[SC2154]: dev2 is referenced but not assigned.
#   39|   # when device is 'in-use' and we cleared _rimage & _rmeta.
#   40|   lvcreate -l1 $vg "$dev1"
#   41|-> lvcreate -l1 $vg "$dev2"
#   42|   
#   43|   sector=$(( $(get first_extent_sector "$dev2") + 2048 ))

Error: SHELLCHECK_WARNING (CWE-457): [#def655]
/usr/share/lvm2-testsuite/shell/lvextend-raid.sh:49:83: warning[SC2154]: lv1 is referenced but not assigned.
#   47|   
#   48|   # Create raid1 LV consuming 1 MD bitmap page
#   49|-> lvcreate --yes --type raid1 --regionsize ${regionsize}K -L$(( lvsz - lvext ))M -n $lv1 $vg
#   50|   
#   51|   lvs -a $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def656]
/usr/share/lvm2-testsuite/shell/lvextend-snapshot-dmeventd.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def657]
/usr/share/lvm2-testsuite/shell/lvextend-snapshot-dmeventd.sh:18:87: warning[SC2154]: vg is referenced but not assigned.
#   16|   
#   17|   extend() {
#   18|-> 	lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
#   19|   }
#   20|   

Error: SHELLCHECK_WARNING (CWE-563): [#def658]
/usr/share/lvm2-testsuite/shell/lvextend-snapshot-dmeventd.sh:31:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   29|   wait_for_change_() {
#   30|   	# dmeventd only checks every 10 seconds :(
#   31|-> 	for i in $(seq 1 25) ; do
#   32|   		test "$(percent_)" != "$1" && return
#   33|   		sleep 1

Error: SHELLCHECK_WARNING (CWE-563): [#def659]
/usr/share/lvm2-testsuite/shell/lvextend-snapshot-policy.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def660]
/usr/share/lvm2-testsuite/shell/lvextend-snapshot-policy.sh:21:87: warning[SC2154]: vg is referenced but not assigned.
#   19|   
#   20|   extend() {
#   21|-> 	lvextend --use-policies --config "activation { snapshot_autoextend_threshold = $1 }" $vg/snap
#   22|   }
#   23|   

Error: SHELLCHECK_WARNING (CWE-563): [#def661]
/usr/share/lvm2-testsuite/shell/lvextend-thin-adddel.sh:17:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   15|   #
#   16|   
#   17|-> SKIP_WITH_LVMLOCKD=1
#   18|   SKIP_WITH_LVMPOLLD=1
#   19|   

Error: SHELLCHECK_WARNING (CWE-563): [#def662]
/usr/share/lvm2-testsuite/shell/lvextend-thin-adddel.sh:18:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   16|   
#   17|   SKIP_WITH_LVMLOCKD=1
#   18|-> SKIP_WITH_LVMPOLLD=1
#   19|   
#   20|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def663]
/usr/share/lvm2-testsuite/shell/lvextend-thin-adddel.sh:33:18: warning[SC2154]: lv1 is referenced but not assigned.
#   31|   aux prepare_vg 2
#   32|   
#   33|-> lvcreate -V10 -n $lv1 -L10 -T $vg/pool
#   34|   lvcreate -V10 -n $lv2 $vg/pool
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def664]
/usr/share/lvm2-testsuite/shell/lvextend-thin-adddel.sh:33:31: warning[SC2154]: vg is referenced but not assigned.
#   31|   aux prepare_vg 2
#   32|   
#   33|-> lvcreate -V10 -n $lv1 -L10 -T $vg/pool
#   34|   lvcreate -V10 -n $lv2 $vg/pool
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def665]
/usr/share/lvm2-testsuite/shell/lvextend-thin-adddel.sh:34:18: warning[SC2154]: lv2 is referenced but not assigned.
#   32|   
#   33|   lvcreate -V10 -n $lv1 -L10 -T $vg/pool
#   34|-> lvcreate -V10 -n $lv2 $vg/pool
#   35|   
#   36|   # Forcibly 'error' _tmeta thin-pool metadata device

Error: SHELLCHECK_WARNING (CWE-563): [#def666]
/usr/share/lvm2-testsuite/shell/lvextend-thin-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def667]
/usr/share/lvm2-testsuite/shell/lvextend-thin-cache.sh:27:17: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux prepare_vg 2 20000
#   26|   
#   27|-> lvcreate -l1 -T $vg/pool
#   28|   # Caching of thin-pool's dataLV
#   29|   lvcreate -H -L10 $vg/pool

Error: SHELLCHECK_WARNING (CWE-563): [#def668]
/usr/share/lvm2-testsuite/shell/lvextend-thin-data-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def669]
/usr/share/lvm2-testsuite/shell/lvextend-thin-data-dmeventd.sh:25:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   23|   # retry only few times
#   24|   test_equal_() {
#   25|-> 	for i in $(seq 1 4) ; do
#   26|   		test "$(get lv_field $vg/pool data_percent)" = "$1" || return
#   27|   		sleep 1

Error: SHELLCHECK_WARNING (CWE-457): [#def670]
/usr/share/lvm2-testsuite/shell/lvextend-thin-data-dmeventd.sh:26:24: warning[SC2154]: vg is referenced but not assigned.
#   24|   test_equal_() {
#   25|   	for i in $(seq 1 4) ; do
#   26|-> 		test "$(get lv_field $vg/pool data_percent)" = "$1" || return
#   27|   		sleep 1
#   28|   	done

Error: SHELLCHECK_WARNING (CWE-457): [#def671]
/usr/share/lvm2-testsuite/shell/lvextend-thin-data-dmeventd.sh:47:27: warning[SC2154]: lv1 is referenced but not assigned.
#   45|   
#   46|   lvcreate -L1M -c 64k -T $vg/pool
#   47|-> lvcreate -V1M $vg/pool -n $lv1
#   48|   
#   49|   # Fill exactly 75%

Error: SHELLCHECK_WARNING (CWE-563): [#def672]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   #
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def673]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:36:24: warning[SC2154]: lv2 is referenced but not assigned.
#   34|   
#   35|   aux prepare_thin_metadata 400 0 | tee data
#   36|-> lvcreate -L200 -V10 -n $lv2 -T $vg/pool
#   37|   lvchange -an $vg
#   38|   

Error: SHELLCHECK_WARNING (CWE-457): [#def674]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:36:32: warning[SC2154]: vg is referenced but not assigned.
#   34|   
#   35|   aux prepare_thin_metadata 400 0 | tee data
#   36|-> lvcreate -L200 -V10 -n $lv2 -T $vg/pool
#   37|   lvchange -an $vg
#   38|   

Error: SHELLCHECK_WARNING (CWE-457): [#def675]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:40:18: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   
#   39|   # Prepare full metadata volume
#   40|-> lvcreate -L2M -n $lv1 $vg
#   41|   "$LVM_TEST_THIN_RESTORE_CMD" -i data -o "$DM_DEV_DIR/mapper/$vg-$lv1"
#   42|   lvconvert -y --thinpool $vg/pool --poolmetadata $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def676]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:57:35: warning[SC2154]: dev2 is referenced but not assigned.
#   55|   
#   56|   
#   57|-> lvextend --use-policies $vg/pool "$dev2" "$dev3"
#   58|   #should lvextend -l+100%FREE $vg/pool2
#   59|   

Error: SHELLCHECK_WARNING (CWE-457): [#def677]
/usr/share/lvm2-testsuite/shell/lvextend-thin-full.sh:57:43: warning[SC2154]: dev3 is referenced but not assigned.
#   55|   
#   56|   
#   57|-> lvextend --use-policies $vg/pool "$dev2" "$dev3"
#   58|   #should lvextend -l+100%FREE $vg/pool2
#   59|   

Error: SHELLCHECK_WARNING (CWE-563): [#def678]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test autoextension of thin metadata volume
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def679]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def680]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:24:15: warning[SC2154]: vg is referenced but not assigned.
#   22|   
#   23|   meta_percent_() {
#   24|-> 	get lv_field $vg/pool metadata_percent | cut -d. -f1
#   25|   }
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def681]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:76:18: warning[SC2154]: lv1 is referenced but not assigned.
#   74|   lvcreate -L200M -V50M -n thin -T $vg/pool
#   75|   lvcreate -V2M -n thin2 $vg/pool
#   76|-> lvcreate -L2M -n $lv1 $vg
#   77|   lvcreate -L32M -n $lv2 $vg
#   78|   lvcreate -L32M -n $lv3 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def682]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:77:19: warning[SC2154]: lv2 is referenced but not assigned.
#   75|   lvcreate -V2M -n thin2 $vg/pool
#   76|   lvcreate -L2M -n $lv1 $vg
#   77|-> lvcreate -L32M -n $lv2 $vg
#   78|   lvcreate -L32M -n $lv3 $vg
#   79|   lvchange -an $vg/thin $vg/thin2 $vg/pool

Error: SHELLCHECK_WARNING (CWE-457): [#def683]
/usr/share/lvm2-testsuite/shell/lvextend-thin-metadata-dmeventd.sh:78:19: warning[SC2154]: lv3 is referenced but not assigned.
#   76|   lvcreate -L2M -n $lv1 $vg
#   77|   lvcreate -L32M -n $lv2 $vg
#   78|-> lvcreate -L32M -n $lv3 $vg
#   79|   lvchange -an $vg/thin $vg/thin2 $vg/pool
#   80|   

Error: SHELLCHECK_WARNING (CWE-563): [#def684]
/usr/share/lvm2-testsuite/shell/lvextend-thin-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def685]
/usr/share/lvm2-testsuite/shell/lvextend-thin-raid.sh:25:44: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_vg 6 600
#   24|   
#   25|-> lvcreate --type raid1 -l2 --nosync -n pool $vg
#   26|   lvconvert --yes --thinpool $vg/pool "$dev3"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def686]
/usr/share/lvm2-testsuite/shell/lvextend-thin-raid.sh:26:38: warning[SC2154]: dev3 is referenced but not assigned.
#   24|   
#   25|   lvcreate --type raid1 -l2 --nosync -n pool $vg
#   26|-> lvconvert --yes --thinpool $vg/pool "$dev3"
#   27|   
#   28|   check lv_field $vg/pool seg_size_pe "2"

Error: SHELLCHECK_WARNING (CWE-563): [#def687]
/usr/share/lvm2-testsuite/shell/lvextend-thin.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def688]
/usr/share/lvm2-testsuite/shell/lvextend-thin.sh:23:21: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   aux prepare_vg 3
#   23|-> lvcreate -i2 -l2 -T $vg/pool2
#   24|   lvextend -l+2 $vg/pool2 "$dev2" "$dev3"
#   25|   lvextend -l+100%FREE $vg/pool2

Error: SHELLCHECK_WARNING (CWE-457): [#def689]
/usr/share/lvm2-testsuite/shell/lvextend-thin.sh:24:26: warning[SC2154]: dev2 is referenced but not assigned.
#   22|   aux prepare_vg 3
#   23|   lvcreate -i2 -l2 -T $vg/pool2
#   24|-> lvextend -l+2 $vg/pool2 "$dev2" "$dev3"
#   25|   lvextend -l+100%FREE $vg/pool2
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def690]
/usr/share/lvm2-testsuite/shell/lvextend-thin.sh:24:34: warning[SC2154]: dev3 is referenced but not assigned.
#   22|   aux prepare_vg 3
#   23|   lvcreate -i2 -l2 -T $vg/pool2
#   24|-> lvextend -l+2 $vg/pool2 "$dev2" "$dev3"
#   25|   lvextend -l+100%FREE $vg/pool2
#   26|   

Error: SHELLCHECK_WARNING (CWE-563): [#def691]
/usr/share/lvm2-testsuite/shell/lvextend-vdo-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def692]
/usr/share/lvm2-testsuite/shell/lvextend-vdo-dmeventd.sh:21:15: warning[SC2154]: vg is referenced but not assigned.
#   19|   
#   20|   percent_() {
#   21|-> 	get lv_field $vg/vpool data_percent | cut -d. -f1
#   22|   }
#   23|   

Error: SHELLCHECK_WARNING (CWE-563): [#def693]
/usr/share/lvm2-testsuite/shell/lvextend-vdo-dmeventd.sh:26:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   24|   wait_for_change_() {
#   25|   	# dmeventd only checks every 10 seconds :(
#   26|-> 	for i in $(seq 1 25) ; do
#   27|   		test "$(percent_)" != "$1" && return
#   28|   		sleep 1

Error: SHELLCHECK_WARNING (CWE-457): [#def694]
/usr/share/lvm2-testsuite/shell/lvextend-vdo-dmeventd.sh:43:29: warning[SC2154]: lv1 is referenced but not assigned.
#   41|   
#   42|   aux prepare_vg 1 9000
#   43|-> lvcreate --vdo -V2G -L4G -n $lv1 $vg/vpool
#   44|   
#   45|   pre=$(percent_)

Error: SHELLCHECK_WARNING (CWE-563): [#def695]
/usr/share/lvm2-testsuite/shell/lvextend-vdo.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def696]
/usr/share/lvm2-testsuite/shell/lvextend-vdo.sh:25:29: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   
#   24|   aux prepare_vg 1 7000
#   25|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   26|   
#   27|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-457): [#def697]
/usr/share/lvm2-testsuite/shell/lvextend-vdo.sh:25:34: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   aux prepare_vg 1 7000
#   25|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   26|   
#   27|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-457): [#def698]
/usr/share/lvm2-testsuite/shell/lvextend-vdo.sh:25:38: warning[SC2154]: lv2 is referenced but not assigned.
#   23|   
#   24|   aux prepare_vg 1 7000
#   25|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   26|   
#   27|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-563): [#def699]
/usr/share/lvm2-testsuite/shell/lvm-conf-error.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Check what happens when reading of lvm.conf fails
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def700]
/usr/share/lvm2-testsuite/shell/lvm-conf-error.sh:27:18: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   mkdir mnt
#   26|   
#   27|-> lvcreate -L5M -n $lv1 $vg
#   28|   
#   29|   $MKFS "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def701]
/usr/share/lvm2-testsuite/shell/lvm-conf-error.sh:27:23: warning[SC2154]: vg is referenced but not assigned.
#   25|   mkdir mnt
#   26|   
#   27|-> lvcreate -L5M -n $lv1 $vg
#   28|   
#   29|   $MKFS "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def702]
/usr/share/lvm2-testsuite/shell/lvm-conf-error.sh:40:48: warning[SC2154]: dev1 is referenced but not assigned.
#   38|   
#   39|   # 1st. sector for filesystem
#   40|-> first_extent_sector=$(get first_extent_sector "$dev1")
#   41|   
#   42|   # find 1st. 1k block of file and trim '..' from printed number

Error: SHELLCHECK_WARNING (CWE-563): [#def703]
/usr/share/lvm2-testsuite/shell/lvm-init.sh:18:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   16|   
#   17|   
#   18|-> SKIP_WITH_LVMPOLLD=1
#   19|   
#   20|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def704]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def705]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def706]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:62:73: warning[SC2154]: dev1 is referenced but not assigned.
#   60|   *) CHUNK="" ;;
#   61|   esac
#   62|-> aux mdadm_create --metadata=1.0 --level=$level $CHUNK --raid-devices=2 "$dev1" "$dev2"
#   63|   mddev=$(< MD_DEV)
#   64|   

Error: SHELLCHECK_WARNING (CWE-457): [#def707]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:62:81: warning[SC2154]: dev2 is referenced but not assigned.
#   60|   *) CHUNK="" ;;
#   61|   esac
#   62|-> aux mdadm_create --metadata=1.0 --level=$level $CHUNK --raid-devices=2 "$dev1" "$dev2"
#   63|   mddev=$(< MD_DEV)
#   64|   

Error: SHELLCHECK_WARNING (CWE-457): [#def708]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:65:10: warning[SC2154]: vg is referenced but not assigned.
#   63|   mddev=$(< MD_DEV)
#   64|   
#   65|-> vgcreate $vg "$mddev"
#   66|   
#   67|   lvmdevices || true

Error: SHELLCHECK_WARNING (CWE-457): [#def709]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:72:13: warning[SC2154]: lv1 is referenced but not assigned.
#   70|   PVIDMD=$(get pv_field "$mddev" uuid | tr -d - )
#   71|   
#   72|-> lvcreate -n $lv1 -l 2 $vg
#   73|   lvcreate -n $lv2 -l 2 -an $vg
#   74|   

Error: SHELLCHECK_WARNING (CWE-457): [#def710]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:73:13: warning[SC2154]: lv2 is referenced but not assigned.
#   71|   
#   72|   lvcreate -n $lv1 -l 2 $vg
#   73|-> lvcreate -n $lv2 -l 2 -an $vg
#   74|   
#   75|   lvchange -ay $vg/$lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def711]
/usr/share/lvm2-testsuite/shell/lvm-on-md.sh:189:11: warning[SC2154]: dev3 is referenced but not assigned.
#  187|   # empty, and the code falls back to scanning all, and we do not end
#  188|   # up testing the code with hints actively used.
#  189|-> pvcreate "$dev3"
#  190|   
#  191|   vgcreate $vg "$mddev"

Error: SHELLCHECK_WARNING (CWE-563): [#def712]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def713]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def714]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:21:10: warning[SC2154]: vg1 is referenced but not assigned.
#   19|   get_devs
#   20|   
#   21|-> vgcreate $vg1 "$dev1"
#   22|   vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def715]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:21:16: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   get_devs
#   20|   
#   21|-> vgcreate $vg1 "$dev1"
#   22|   vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def716]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:22:10: warning[SC2154]: vg2 is referenced but not assigned.
#   20|   
#   21|   vgcreate $vg1 "$dev1"
#   22|-> vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   
#   24|   UUID1=$(get vg_field $vg1 uuid)

Error: SHELLCHECK_WARNING (CWE-457): [#def717]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:22:16: warning[SC2154]: dev3 is referenced but not assigned.
#   20|   
#   21|   vgcreate $vg1 "$dev1"
#   22|-> vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   
#   24|   UUID1=$(get vg_field $vg1 uuid)

Error: SHELLCHECK_WARNING (CWE-457): [#def718]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:22:24: warning[SC2154]: dev4 is referenced but not assigned.
#   20|   
#   21|   vgcreate $vg1 "$dev1"
#   22|-> vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   
#   24|   UUID1=$(get vg_field $vg1 uuid)

Error: SHELLCHECK_WARNING (CWE-457): [#def719]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:22:32: warning[SC2154]: dev5 is referenced but not assigned.
#   20|   
#   21|   vgcreate $vg1 "$dev1"
#   22|-> vgcreate $vg2 "$dev3" "$dev4" "$dev5"
#   23|   
#   24|   UUID1=$(get vg_field $vg1 uuid)

Error: SHELLCHECK_WARNING (CWE-457): [#def720]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:33:16: warning[SC2154]: dev2 is referenced but not assigned.
#   31|   # create a new vg1 on dev2,
#   32|   # so dev1 and dev2 have different VGs with the same name
#   33|-> vgcreate $vg1 "$dev2"
#   34|   
#   35|   UUID2=$(get vg_field $vg1 uuid)

Error: SHELLCHECK_WARNING (CWE-563): [#def721]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:35:1: warning[SC2034]: UUID2 appears unused. Verify use (or export if used externally).
#   33|   vgcreate $vg1 "$dev2"
#   34|   
#   35|-> UUID2=$(get vg_field $vg1 uuid)
#   36|   
#   37|   # Once dev1 is visible again, both VGs named "vg1" are visible.

Error: SHELLCHECK_WARNING (CWE-457): [#def722]
/usr/share/lvm2-testsuite/shell/lvmcache-exercise.sh:43:67: warning[SC2154]: lv1 is referenced but not assigned.
#   41|   
#   42|   # reappearing device (rhbz 995440)
#   43|-> lvcreate -aey -m2 --type mirror -l4 --alloc anywhere --corelog -n $lv1 $vg2
#   44|   
#   45|   aux disable_dev "$dev3"

Error: SHELLCHECK_WARNING (CWE-563): [#def723]
/usr/share/lvm2-testsuite/shell/lvmlockd-hello-world.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Hello world for vgcreate $SHARED with lvmlockd and sanlock'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def724]
/usr/share/lvm2-testsuite/shell/lvmlockd-hello-world.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Hello world for vgcreate $SHARED with lvmlockd and sanlock'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def725]
/usr/share/lvm2-testsuite/shell/lvmlockd-hello-world.sh:23:18: warning[SC2154]: vg is referenced but not assigned.
#   21|   aux prepare_pvs 1
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1"
#   24|   
#   25|   vgs -o+locktype,lockargs $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def726]
/usr/share/lvm2-testsuite/shell/lvmlockd-hello-world.sh:23:23: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   aux prepare_pvs 1
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1"
#   24|   
#   25|   vgs -o+locktype,lockargs $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def727]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Check lvmlockd lock_args for different LV types'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def728]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Check lvmlockd lock_args for different LV types'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def729]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:19: warning[SC2154]: vg is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def730]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:24: warning[SC2154]: dev1 is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def731]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:32: warning[SC2154]: dev2 is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def732]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:40: warning[SC2154]: dev3 is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def733]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:48: warning[SC2154]: dev4 is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def734]
/usr/share/lvm2-testsuite/shell/lvmlockd-lv-types.sh:47:56: warning[SC2154]: dev5 is referenced but not assigned.
#   45|   aux prepare_devs 5
#   46|   
#   47|-> vgcreate --shared $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   48|   
#   49|   #

Error: SHELLCHECK_WARNING (CWE-563): [#def735]
/usr/share/lvm2-testsuite/shell/lvmlockd_failure.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def736]
/usr/share/lvm2-testsuite/shell/lvmlockd_failure.sh:22:33: warning[SC2154]: lv1 is referenced but not assigned.
#   20|   
#   21|   # Create new logic volume
#   22|-> lvcreate -a ey --zero n -l 1 -n $lv1 $vg
#   23|   
#   24|   # FIXME - test shall NOT kill random processes in the system!

Error: SHELLCHECK_WARNING (CWE-457): [#def737]
/usr/share/lvm2-testsuite/shell/lvmlockd_failure.sh:22:38: warning[SC2154]: vg is referenced but not assigned.
#   20|   
#   21|   # Create new logic volume
#   22|-> lvcreate -a ey --zero n -l 1 -n $lv1 $vg
#   23|   
#   24|   # FIXME - test shall NOT kill random processes in the system!

Error: SHELLCHECK_WARNING (CWE-457): [#def738]
/usr/share/lvm2-testsuite/shell/lvmlockd_failure.sh:35:33: warning[SC2154]: lv2 is referenced but not assigned.
#   33|   lvchange -a sy $vg/$lv1
#   34|   
#   35|-> lvcreate -a ey --zero n -l 1 -n $lv2 $vg
#   36|   lvchange -a n $vg/$lv2
#   37|   

Error: SHELLCHECK_WARNING (CWE-563): [#def739]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def740]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:18: warning[SC2154]: vg is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def741]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:23: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def742]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:31: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def743]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:39: warning[SC2154]: dev3 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def744]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:47: warning[SC2154]: dev4 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def745]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:55: warning[SC2154]: dev5 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def746]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:23:63: warning[SC2154]: dev6 is referenced but not assigned.
#   21|   aux prepare_devs 6 70 # want 64M of usable space from each dev
#   22|   
#   23|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   # lv1 is thinpool LV: 128M

Error: SHELLCHECK_WARNING (CWE-457): [#def747]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:34:30: warning[SC2154]: lv1 is referenced but not assigned.
#   32|   
#   33|   # attach writecache to thinpool data
#   34|-> lvcreate --type thin-pool -n $lv1 -L128M --poolmetadataspare n $vg "$dev1" "$dev2"
#   35|   lvcreate --type thin -n $lv3 -V1G --thinpool $lv1 $vg
#   36|   lvcreate -n $lv2 -L64M -an $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def748]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:35:25: warning[SC2154]: lv3 is referenced but not assigned.
#   33|   # attach writecache to thinpool data
#   34|   lvcreate --type thin-pool -n $lv1 -L128M --poolmetadataspare n $vg "$dev1" "$dev2"
#   35|-> lvcreate --type thin -n $lv3 -V1G --thinpool $lv1 $vg
#   36|   lvcreate -n $lv2 -L64M -an $vg "$dev3"
#   37|   lvconvert -y --type writecache --cachevol $lv2 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def749]
/usr/share/lvm2-testsuite/shell/lvremove-thindata-caches.sh:36:13: warning[SC2154]: lv2 is referenced but not assigned.
#   34|   lvcreate --type thin-pool -n $lv1 -L128M --poolmetadataspare n $vg "$dev1" "$dev2"
#   35|   lvcreate --type thin -n $lv3 -V1G --thinpool $lv1 $vg
#   36|-> lvcreate -n $lv2 -L64M -an $vg "$dev3"
#   37|   lvconvert -y --type writecache --cachevol $lv2 $vg/$lv1
#   38|   lvchange -ay $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def750]
/usr/share/lvm2-testsuite/shell/lvrename-cache-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def751]
/usr/share/lvm2-testsuite/shell/lvrename-cache-thin.sh:25:24: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_vg 1 80
#   24|   
#   25|-> lvcreate -L10 -n cpool $vg
#   26|   lvcreate -L10 -n tpool $vg
#   27|   lvcreate -L10 -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def752]
/usr/share/lvm2-testsuite/shell/lvrename-cache-thin.sh:27:18: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   lvcreate -L10 -n cpool $vg
#   26|   lvcreate -L10 -n tpool $vg
#   27|-> lvcreate -L10 -n $lv1 $vg
#   28|   
#   29|   lvconvert --yes --type cache-pool $vg/cpool

Error: SHELLCHECK_WARNING (CWE-563): [#def753]
/usr/share/lvm2-testsuite/shell/lvrename-vdo.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def754]
/usr/share/lvm2-testsuite/shell/lvrename-vdo.sh:30:33: warning[SC2154]: lv1 is referenced but not assigned.
#   28|   aux prepare_vg 2 5000
#   29|   
#   30|-> lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool1
#   31|   lvrename $vg/vpool1 vpool2
#   32|   check lv_exists $vg $lv1 vpool2 vpool2_vdata

Error: SHELLCHECK_WARNING (CWE-457): [#def755]
/usr/share/lvm2-testsuite/shell/lvrename-vdo.sh:30:38: warning[SC2154]: vg is referenced but not assigned.
#   28|   aux prepare_vg 2 5000
#   29|   
#   30|-> lvcreate --vdo -L4G -V2G --name $lv1 $vg/vpool1
#   31|   lvrename $vg/vpool1 vpool2
#   32|   check lv_exists $vg $lv1 vpool2 vpool2_vdata

Error: SHELLCHECK_WARNING (CWE-563): [#def756]
/usr/share/lvm2-testsuite/shell/lvresize-fs-crypt.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def757]
/usr/share/lvm2-testsuite/shell/lvresize-fs-crypt.sh:25:13: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   
#   24|   # Tests require a libblkid version that shows FSLASTBLOCK
#   25|-> lvcreate -n $lv1 -L 300 $vg
#   26|   mkfs.xfs -f "$DM_DEV_DIR/$vg/$lv1"
#   27|   blkid -p "$DM_DEV_DIR/$vg/$lv1" | grep FSLASTBLOCK || skip

Error: SHELLCHECK_WARNING (CWE-457): [#def758]
/usr/share/lvm2-testsuite/shell/lvresize-fs-crypt.sh:25:25: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   # Tests require a libblkid version that shows FSLASTBLOCK
#   25|-> lvcreate -n $lv1 -L 300 $vg
#   26|   mkfs.xfs -f "$DM_DEV_DIR/$vg/$lv1"
#   27|   blkid -p "$DM_DEV_DIR/$vg/$lv1" | grep FSLASTBLOCK || skip

Error: SHELLCHECK_WARNING (CWE-457): [#def759]
/usr/share/lvm2-testsuite/shell/lvresize-fs-crypt.sh:34:13: warning[SC2154]: lv is referenced but not assigned.
#   32|   
#   33|   # dm-crypt device on lv
#   34|-> cr="$PREFIX-$lv-cr"
#   35|   
#   36|   # lvextend ext4 on LUKS1

Error: SHELLCHECK_WARNING (CWE-563): [#def760]
/usr/share/lvm2-testsuite/shell/lvresize-fs.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def761]
/usr/share/lvm2-testsuite/shell/lvresize-fs.sh:34:24: warning[SC2154]: vg is referenced but not assigned.
#   32|   workaround_() {
#   33|   	local vol=${1-$lv}
#   34|-> 	blkid -p "$DM_DEV_DIR/$vg/$vol" >/dev/null || {
#   35|   		dmsetup suspend $vg-$vol
#   36|   		dmsetup resume $vg-$vol

Error: SHELLCHECK_WARNING (CWE-457): [#def762]
/usr/share/lvm2-testsuite/shell/lvresize-fs.sh:218:22: warning[SC2154]: lv2 is referenced but not assigned.
#  216|   
#  217|   # lvextend|lvreduce, ext4, active, mounted, --fs resize, renamed LV
#  218|-> lvrename $vg/$lv $vg/$lv2
#  219|   not lvextend --fs resize -L+32M $vg/$lv2
#  220|   not lvreduce --fs resize -L-32M $vg/$lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def763]
/usr/share/lvm2-testsuite/shell/lvresize-fs.sh:225:23: warning[SC2154]: lv3 is referenced but not assigned.
#  223|   # lvextend|lvreduce, ext4, active, mounted, mount dir with space, --fs resize, renamed LV
#  224|   mount "$DM_DEV_DIR/$vg/$lv2" "$mount_dir_space"
#  225|-> lvrename $vg/$lv2 $vg/$lv3
#  226|   not lvextend --fs resize -L+32M $vg/$lv3
#  227|   not lvreduce --fs resize -L-32M $vg/$lv3

Error: SHELLCHECK_WARNING (CWE-563): [#def764]
/usr/share/lvm2-testsuite/shell/lvresize-full.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def765]
/usr/share/lvm2-testsuite/shell/lvresize-full.sh:31:24: warning[SC2154]: lv1 is referenced but not assigned.
#   29|   aux prepare_vg 2 20
#   30|   
#   31|-> lvcreate -l100%FREE -n $lv1 $vg
#   32|   
#   33|   lvdev="$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def766]
/usr/share/lvm2-testsuite/shell/lvresize-full.sh:31:29: warning[SC2154]: vg is referenced but not assigned.
#   29|   aux prepare_vg 2 20
#   30|   
#   31|-> lvcreate -l100%FREE -n $lv1 $vg
#   32|   
#   33|   lvdev="$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-563): [#def767]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def768]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:23:41: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   
#   22|   # extend 2-way mirror
#   23|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3":0-1
#   24|   
#   25|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def769]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:23:46: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   # extend 2-way mirror
#   23|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3":0-1
#   24|   
#   25|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def770]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:23:51: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   
#   22|   # extend 2-way mirror
#   23|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3":0-1
#   24|   
#   25|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def771]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:23:59: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   
#   22|   # extend 2-way mirror
#   23|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3":0-1
#   24|   
#   25|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def772]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:23:67: warning[SC2154]: dev3 is referenced but not assigned.
#   21|   
#   22|   # extend 2-way mirror
#   23|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv1 $vg "$dev1" "$dev2" "$dev3":0-1
#   24|   
#   25|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def773]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:36:41: warning[SC2154]: lv2 is referenced but not assigned.
#   34|   
#   35|   # extend 2-way mirror (cling if not contiguous)
#   36|-> 	lvcreate -aye -l2 --type mirror -m1 -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1
#   37|   	lvcreate -l1 -n $lv3 $vg "$dev1"
#   38|   	lvcreate -l1 -n $lv4 $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def774]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:37:18: warning[SC2154]: lv3 is referenced but not assigned.
#   35|   # extend 2-way mirror (cling if not contiguous)
#   36|   	lvcreate -aye -l2 --type mirror -m1 -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1
#   37|-> 	lvcreate -l1 -n $lv3 $vg "$dev1"
#   38|   	lvcreate -l1 -n $lv4 $vg "$dev2"
#   39|   

Error: SHELLCHECK_WARNING (CWE-457): [#def775]
/usr/share/lvm2-testsuite/shell/lvresize-mirror.sh:38:18: warning[SC2154]: lv4 is referenced but not assigned.
#   36|   	lvcreate -aye -l2 --type mirror -m1 -n $lv2 $vg "$dev1" "$dev2" "$dev3":0-1
#   37|   	lvcreate -l1 -n $lv3 $vg "$dev1"
#   38|-> 	lvcreate -l1 -n $lv4 $vg "$dev2"
#   39|   
#   40|   	test $deactivate && lvchange -an $vg/$lv2

Error: SHELLCHECK_WARNING (CWE-563): [#def776]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def777]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:27:27: warning[SC2154]: vg is referenced but not assigned.
#   25|   get_devs
#   26|   
#   27|-> vgcreate $SHARED -s 256K "$vg" "${DEVICES[@]}"
#   28|   
#   29|   for deactivate in true false; do

Error: SHELLCHECK_WARNING (CWE-457): [#def778]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:32:37: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   
#   31|   # Extend and reduce a 2-way RAID1
#   32|-> 	lvcreate --type raid1 -m 1 -l 2 -n $lv1 $vg
#   33|   
#   34|   	test $deactivate && {

Error: SHELLCHECK_WARNING (CWE-457): [#def779]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:48:39: warning[SC2154]: lv2 is referenced but not assigned.
#   46|   # Extend and reduce 3-striped RAID 4/5/6/10
#   47|   	for i in $levels ; do
#   48|-> 		lvcreate --type raid$i -i 3 -l 3 -n $lv2 $vg
#   49|   		check lv_field $vg/$lv2 "seg_size" "768.00k"
#   50|   

Error: SHELLCHECK_WARNING (CWE-457): [#def780]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:73:46: warning[SC2154]: dev4 is referenced but not assigned.
#   71|   # Bug 1005434
#   72|   # Ensure extend is contiguous
#   73|-> lvcreate --type raid5 -l 2 -i 2 -n $lv1 $vg "$dev4" "$dev5" "$dev6"
#   74|   lvextend -l +2 --alloc contiguous $vg/$lv1
#   75|   check lv_tree_on $vg $lv1 "$dev4" "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def781]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:73:54: warning[SC2154]: dev5 is referenced but not assigned.
#   71|   # Bug 1005434
#   72|   # Ensure extend is contiguous
#   73|-> lvcreate --type raid5 -l 2 -i 2 -n $lv1 $vg "$dev4" "$dev5" "$dev6"
#   74|   lvextend -l +2 --alloc contiguous $vg/$lv1
#   75|   check lv_tree_on $vg $lv1 "$dev4" "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def782]
/usr/share/lvm2-testsuite/shell/lvresize-raid.sh:73:62: warning[SC2154]: dev6 is referenced but not assigned.
#   71|   # Bug 1005434
#   72|   # Ensure extend is contiguous
#   73|-> lvcreate --type raid5 -l 2 -i 2 -n $lv1 $vg "$dev4" "$dev5" "$dev6"
#   74|   lvextend -l +2 --alloc contiguous $vg/$lv1
#   75|   check lv_tree_on $vg $lv1 "$dev4" "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-563): [#def783]
/usr/share/lvm2-testsuite/shell/lvresize-raid10.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def784]
/usr/share/lvm2-testsuite/shell/lvresize-raid10.sh:24:43: warning[SC2154]: lv1 is referenced but not assigned.
#   22|   for deactivate in true false; do
#   23|   # Extend RAID10 (2-stripes, 2-mirror)
#   24|-> 	lvcreate --type raid10 -m 1 -i 2 -l 2 -n $lv1 $vg
#   25|   
#   26|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def785]
/usr/share/lvm2-testsuite/shell/lvresize-raid10.sh:24:48: warning[SC2154]: vg is referenced but not assigned.
#   22|   for deactivate in true false; do
#   23|   # Extend RAID10 (2-stripes, 2-mirror)
#   24|-> 	lvcreate --type raid10 -m 1 -i 2 -l 2 -n $lv1 $vg
#   25|   
#   26|   	test $deactivate && lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def786]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def787]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:21:26: warning[SC2154]: vg is referenced but not assigned.
#   19|   get_devs
#   20|   
#   21|-> vgcreate $SHARED -s 32K "$vg" "${DEVICES[@]}"
#   22|   
#   23|   lvcreate -an -Zn -l4 -i3 -I64 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def788]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:29:35: warning[SC2154]: lv1 is referenced but not assigned.
#   27|   lvcreate -an -Zn -l16 $vg
#   28|   
#   29|-> lvcreate -an -Zn -l32 -i3 -I64 -n $lv1 $vg
#   30|   
#   31|   lvresize -l+64 -i3 -I64 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def789]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:58:29: warning[SC2154]: dev1 is referenced but not assigned.
#   56|   vgremove -f $vg
#   57|   
#   58|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   59|   
#   60|   # Expect to play with 15 extents

Error: SHELLCHECK_WARNING (CWE-457): [#def790]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:58:37: warning[SC2154]: dev2 is referenced but not assigned.
#   56|   vgremove -f $vg
#   57|   
#   58|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   59|   
#   60|   # Expect to play with 15 extents

Error: SHELLCHECK_WARNING (CWE-457): [#def791]
/usr/share/lvm2-testsuite/shell/lvresize-rounding.sh:58:45: warning[SC2154]: dev3 is referenced but not assigned.
#   56|   vgremove -f $vg
#   57|   
#   58|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   59|   
#   60|   # Expect to play with 15 extents

Error: SHELLCHECK_WARNING (CWE-563): [#def792]
/usr/share/lvm2-testsuite/shell/lvresize-thin-external-origin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test resize of thin volume with external origin
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def793]
/usr/share/lvm2-testsuite/shell/lvresize-thin-external-origin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def794]
/usr/share/lvm2-testsuite/shell/lvresize-thin-external-origin.sh:29:18: warning[SC2154]: lv1 is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -L10 -n $lv1 $vg
#   30|   
#   31|   # Prepare thin pool

Error: SHELLCHECK_WARNING (CWE-457): [#def795]
/usr/share/lvm2-testsuite/shell/lvresize-thin-external-origin.sh:29:23: warning[SC2154]: vg is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -L10 -n $lv1 $vg
#   30|   
#   31|   # Prepare thin pool

Error: SHELLCHECK_WARNING (CWE-563): [#def796]
/usr/share/lvm2-testsuite/shell/lvresize-thin-metadata.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def797]
/usr/share/lvm2-testsuite/shell/lvresize-thin-metadata.sh:26:24: warning[SC2154]: lv1 is referenced but not assigned.
#   24|   for deactivate in true false; do
#   25|   # Create some thin volumes
#   26|-> 	lvcreate -L20 -V30 -n $lv1 -T $vg/pool
#   27|   	lvcreate -s $vg/$lv1
#   28|   # Confirm we have basic 2M metadata

Error: SHELLCHECK_WARNING (CWE-457): [#def798]
/usr/share/lvm2-testsuite/shell/lvresize-thin-metadata.sh:26:32: warning[SC2154]: vg is referenced but not assigned.
#   24|   for deactivate in true false; do
#   25|   # Create some thin volumes
#   26|-> 	lvcreate -L20 -V30 -n $lv1 -T $vg/pool
#   27|   	lvcreate -s $vg/$lv1
#   28|   # Confirm we have basic 2M metadata

Error: SHELLCHECK_WARNING (CWE-563): [#def799]
/usr/share/lvm2-testsuite/shell/lvresize-thin-vdo.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def800]
/usr/share/lvm2-testsuite/shell/lvresize-thin-vdo.sh:25:56: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   aux prepare_vg 1 7000
#   24|   
#   25|-> lvcreate --type thin -V10G -L5G --pooldatavdo y --name $lv1 $vg/pool
#   26|   
#   27|   check lv_field $vg/pool_tdata size "5.00g"

Error: SHELLCHECK_WARNING (CWE-457): [#def801]
/usr/share/lvm2-testsuite/shell/lvresize-thin-vdo.sh:25:61: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_vg 1 7000
#   24|   
#   25|-> lvcreate --type thin -V10G -L5G --pooldatavdo y --name $lv1 $vg/pool
#   26|   
#   27|   check lv_field $vg/pool_tdata size "5.00g"

Error: SHELLCHECK_WARNING (CWE-563): [#def802]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def803]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:20:27: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 2 80
#   19|   
#   20|-> lvcreate -L 10M -n lv -i2 $vg
#   21|   lvresize -l +4 $vg/lv
#   22|   not lvextend -L+0 $vg/lv

Error: SHELLCHECK_WARNING (CWE-457): [#def804]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:26:20: warning[SC2154]: lv is referenced but not assigned.
#   24|   lvremove -ff $vg
#   25|   
#   26|-> lvcreate -L 64M -n $lv -i2 $vg
#   27|   not lvresize -v -l +4 xxx/$lv
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def805]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:36:28: warning[SC2154]: dev1 is referenced but not assigned.
#   34|   lvremove -ff $vg
#   35|   
#   36|-> lvcreate -L 10M -n lv $vg "$dev1"
#   37|   lvextend -L +10M $vg/lv "$dev2"
#   38|   lvextend --type striped -m0 -L +10M $vg/lv "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def806]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:37:26: warning[SC2154]: dev2 is referenced but not assigned.
#   35|   
#   36|   lvcreate -L 10M -n lv $vg "$dev1"
#   37|-> lvextend -L +10M $vg/lv "$dev2"
#   38|   lvextend --type striped -m0 -L +10M $vg/lv "$dev2"
#   39|   

Error: SHELLCHECK_WARNING (CWE-457): [#def807]
/usr/share/lvm2-testsuite/shell/lvresize-usage.sh:46:37: warning[SC2154]: lv1 is referenced but not assigned.
#   44|   lvremove -ff $vg
#   45|   
#   46|-> lvcreate --type mirror -aey -L 4 -n $lv1 $vg
#   47|   # Incorrect name for resized LV
#   48|   not lvextend --type mirror -L 10 -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def808]
/usr/share/lvm2-testsuite/shell/lvresize-vdo.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test resize of VDO volumes
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def809]
/usr/share/lvm2-testsuite/shell/lvresize-vdo.sh:24:29: warning[SC2154]: lv1 is referenced but not assigned.
#   22|   
#   23|   aux prepare_vg 1 7000
#   24|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   25|   
#   26|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-457): [#def810]
/usr/share/lvm2-testsuite/shell/lvresize-vdo.sh:24:34: warning[SC2154]: vg is referenced but not assigned.
#   22|   
#   23|   aux prepare_vg 1 7000
#   24|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   25|   
#   26|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-457): [#def811]
/usr/share/lvm2-testsuite/shell/lvresize-vdo.sh:24:38: warning[SC2154]: lv2 is referenced but not assigned.
#   22|   
#   23|   aux prepare_vg 1 7000
#   24|-> lvcreate --vdo -V3G -L4G -n $lv1 $vg/$lv2
#   25|   
#   26|   # Resize data volume

Error: SHELLCHECK_WARNING (CWE-563): [#def812]
/usr/share/lvm2-testsuite/shell/lvresize-xfs.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def813]
/usr/share/lvm2-testsuite/shell/lvresize-xfs.sh:47:13: warning[SC2154]: lv is referenced but not assigned.
#   45|   
#   46|   # lvextend, xfs, active, mounted, no --fs setting is same as --fs ignore
#   47|-> lvcreate -n $lv -L 300M $vg
#   48|   mkfs.xfs "$DM_DEV_DIR/$vg/$lv"
#   49|   mount "$DM_DEV_DIR/$vg/$lv" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def814]
/usr/share/lvm2-testsuite/shell/lvresize-xfs.sh:47:25: warning[SC2154]: vg is referenced but not assigned.
#   45|   
#   46|   # lvextend, xfs, active, mounted, no --fs setting is same as --fs ignore
#   47|-> lvcreate -n $lv -L 300M $vg
#   48|   mkfs.xfs "$DM_DEV_DIR/$vg/$lv"
#   49|   mount "$DM_DEV_DIR/$vg/$lv" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-563): [#def815]
/usr/share/lvm2-testsuite/shell/lvs-cache.sh:19:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   
#   19|-> SKIP_WITH_LVMPOLLD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def816]
/usr/share/lvm2-testsuite/shell/lvs-cache.sh:27:23: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   
#   26|   # Use 10M origin size
#   27|-> lvcreate -aey -L10 -n $lv1 $vg
#   28|   lvcreate -H -L5 $vg/$lv1
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def817]
/usr/share/lvm2-testsuite/shell/lvs-cache.sh:27:28: warning[SC2154]: vg is referenced but not assigned.
#   25|   
#   26|   # Use 10M origin size
#   27|-> lvcreate -aey -L10 -n $lv1 $vg
#   28|   lvcreate -H -L5 $vg/$lv1
#   29|   

Error: SHELLCHECK_WARNING (CWE-563): [#def818]
/usr/share/lvm2-testsuite/shell/mda-rollback.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def819]
/usr/share/lvm2-testsuite/shell/mda-rollback.sh:20:38: warning[SC2154]: vg1 is referenced but not assigned.
#   18|   aux prepare_devs 3
#   19|   
#   20|-> vgcreate $SHARED --metadatasize 128k $vg1 "$dev1" "$dev2" "$dev3"
#   21|   
#   22|   vgreduce $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def820]
/usr/share/lvm2-testsuite/shell/mda-rollback.sh:20:44: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_devs 3
#   19|   
#   20|-> vgcreate $SHARED --metadatasize 128k $vg1 "$dev1" "$dev2" "$dev3"
#   21|   
#   22|   vgreduce $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def821]
/usr/share/lvm2-testsuite/shell/mda-rollback.sh:20:52: warning[SC2154]: dev2 is referenced but not assigned.
#   18|   aux prepare_devs 3
#   19|   
#   20|-> vgcreate $SHARED --metadatasize 128k $vg1 "$dev1" "$dev2" "$dev3"
#   21|   
#   22|   vgreduce $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def822]
/usr/share/lvm2-testsuite/shell/mda-rollback.sh:20:60: warning[SC2154]: dev3 is referenced but not assigned.
#   18|   aux prepare_devs 3
#   19|   
#   20|-> vgcreate $SHARED --metadatasize 128k $vg1 "$dev1" "$dev2" "$dev3"
#   21|   
#   22|   vgreduce $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def823]
/usr/share/lvm2-testsuite/shell/mdata-strings.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # 'Test for proper escaping of strings in metadata (bz431474)'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def824]
/usr/share/lvm2-testsuite/shell/mdata-strings.sh:40:30: warning[SC2154]: dev2 is referenced but not assigned (did you mean 'dev1'?).
#   38|   created="$dev1"
#   39|   # when used with real udev without fallback, it will fail here
#   40|-> pvcreate "$dev1" || created="$dev2"
#   41|   pvdisplay 2>&1 | tee err
#   42|   should grep -F "$pv_ugly" err

Error: SHELLCHECK_WARNING (CWE-457): [#def825]
/usr/share/lvm2-testsuite/shell/mdata-strings.sh:44:18: warning[SC2154]: vg is referenced but not assigned.
#   42|   should grep -F "$pv_ugly" err
#   43|   should check pv_field "$dev1" pv_name "$dev1"
#   44|-> vgcreate $SHARED $vg "$created"
#   45|   # 'no parse errors and VG really exists'
#   46|   vgs $vg 2>err

Error: SHELLCHECK_WARNING (CWE-563): [#def826]
/usr/share/lvm2-testsuite/shell/metadata-bad-mdaheader.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def827]
/usr/share/lvm2-testsuite/shell/metadata-bad-mdaheader.sh:32:21: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   #
#   31|   
#   32|-> dd if=/dev/zero of="$dev1" bs=1M count=1 oflag=direct
#   33|   dd if=/dev/zero of="$dev2" bs=1M count=1 oflag=direct
#   34|   dd if=/dev/zero of="$dev3" bs=1M count=1 oflag=direct

Error: SHELLCHECK_WARNING (CWE-457): [#def828]
/usr/share/lvm2-testsuite/shell/metadata-bad-mdaheader.sh:33:21: warning[SC2154]: dev2 is referenced but not assigned.
#   31|   
#   32|   dd if=/dev/zero of="$dev1" bs=1M count=1 oflag=direct
#   33|-> dd if=/dev/zero of="$dev2" bs=1M count=1 oflag=direct
#   34|   dd if=/dev/zero of="$dev3" bs=1M count=1 oflag=direct
#   35|   

Error: SHELLCHECK_WARNING (CWE-457): [#def829]
/usr/share/lvm2-testsuite/shell/metadata-bad-mdaheader.sh:34:21: warning[SC2154]: dev3 is referenced but not assigned.
#   32|   dd if=/dev/zero of="$dev1" bs=1M count=1 oflag=direct
#   33|   dd if=/dev/zero of="$dev2" bs=1M count=1 oflag=direct
#   34|-> dd if=/dev/zero of="$dev3" bs=1M count=1 oflag=direct
#   35|   
#   36|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def830]
/usr/share/lvm2-testsuite/shell/metadata-bad-mdaheader.sh:36:18: warning[SC2154]: vg is referenced but not assigned.
#   34|   dd if=/dev/zero of="$dev3" bs=1M count=1 oflag=direct
#   35|   
#   36|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   37|   
#   38|   pvs

Error: SHELLCHECK_WARNING (CWE-563): [#def831]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-457): [#def832]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:32:17: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   get_devs
#   31|   
#   32|-> aux clear_devs "$dev1" "$dev2" "$dev3"
#   33|   
#   34|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def833]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:32:25: warning[SC2154]: dev2 is referenced but not assigned.
#   30|   get_devs
#   31|   
#   32|-> aux clear_devs "$dev1" "$dev2" "$dev3"
#   33|   
#   34|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def834]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:32:33: warning[SC2154]: dev3 is referenced but not assigned.
#   30|   get_devs
#   31|   
#   32|-> aux clear_devs "$dev1" "$dev2" "$dev3"
#   33|   
#   34|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def835]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:34:18: warning[SC2154]: vg is referenced but not assigned.
#   32|   aux clear_devs "$dev1" "$dev2" "$dev3"
#   33|   
#   34|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   35|   
#   36|   pvs

Error: SHELLCHECK_WARNING (CWE-457): [#def836]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:199:13: warning[SC2154]: lv1 is referenced but not assigned.
#  197|   # mdas, skipping the bad mda.
#  198|   
#  199|-> lvcreate -n $lv1 -l1 -an $vg "$dev1"
#  200|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#  201|   

Error: SHELLCHECK_WARNING (CWE-457): [#def837]
/usr/share/lvm2-testsuite/shell/metadata-bad-text.sh:200:13: warning[SC2154]: lv2 is referenced but not assigned.
#  198|   
#  199|   lvcreate -n $lv1 -l1 -an $vg "$dev1"
#  200|-> lvcreate -n $lv2 -l1 -an $vg "$dev1"
#  201|   
#  202|   # Put old metadata onto dev2 by updating

Error: SHELLCHECK_WARNING (CWE-563): [#def838]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def839]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:22:36: warning[SC2154]: dev1 is referenced but not assigned.
#   20|   for pv_in_vg in 1 0; do
#   21|   for mdacp in 1 2; do
#   22|-> 	pvcreate --metadatacopies $mdacp "$dev1" "$dev2"
#   23|           pvcreate --metadatacopies 0 "$dev3"
#   24|   	if [ $pv_in_vg = 1 ]; then

Error: SHELLCHECK_WARNING (CWE-457): [#def840]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:22:44: warning[SC2154]: dev2 is referenced but not assigned.
#   20|   for pv_in_vg in 1 0; do
#   21|   for mdacp in 1 2; do
#   22|-> 	pvcreate --metadatacopies $mdacp "$dev1" "$dev2"
#   23|           pvcreate --metadatacopies 0 "$dev3"
#   24|   	if [ $pv_in_vg = 1 ]; then

Error: SHELLCHECK_WARNING (CWE-457): [#def841]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:23:38: warning[SC2154]: dev3 is referenced but not assigned.
#   21|   for mdacp in 1 2; do
#   22|   	pvcreate --metadatacopies $mdacp "$dev1" "$dev2"
#   23|->         pvcreate --metadatacopies 0 "$dev3"
#   24|   	if [ $pv_in_vg = 1 ]; then
#   25|   		vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def842]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:25:20: warning[SC2154]: vg is referenced but not assigned.
#   23|           pvcreate --metadatacopies 0 "$dev3"
#   24|   	if [ $pv_in_vg = 1 ]; then
#   25|-> 		vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   26|   	fi
#   27|   	pvchange --metadataignore y "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def843]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:68:52: warning[SC2154]: dev4 is referenced but not assigned.
#   66|   echo Test of vgmetadatacopies with vgcreate $SHARED and vgchange
#   67|   for mdacp in 1 2; do
#   68|-> 	pvcreate --metadatacopies $mdacp "$dev1" "$dev2" "$dev4" "$dev5"
#   69|   	check pv_field "$dev1" pv_mda_used_count $mdacp
#   70|   	check pv_field "$dev2" pv_mda_used_count $mdacp

Error: SHELLCHECK_WARNING (CWE-457): [#def844]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:68:60: warning[SC2154]: dev5 is referenced but not assigned.
#   66|   echo Test of vgmetadatacopies with vgcreate $SHARED and vgchange
#   67|   for mdacp in 1 2; do
#   68|-> 	pvcreate --metadatacopies $mdacp "$dev1" "$dev2" "$dev4" "$dev5"
#   69|   	check pv_field "$dev1" pv_mda_used_count $mdacp
#   70|   	check pv_field "$dev2" pv_mda_used_count $mdacp

Error: SHELLCHECK_WARNING (CWE-457): [#def845]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:195:40: warning[SC2154]: vg1 is referenced but not assigned.
#  193|   for mdacp in 1 2; do
#  194|   	pvcreate --metadatacopies $mdacp "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#  195|-> 	vgcreate $SHARED --vgmetadatacopies 2 $vg1 "$dev1" "$dev2" "$dev3"
#  196|   	vgcreate $SHARED --vgmetadatacopies $(( mdacp * 1 )) $vg2 "$dev4" "$dev5"
#  197|   	echo vgsplit/vgmerge preserves value of metadata copies

Error: SHELLCHECK_WARNING (CWE-457): [#def846]
/usr/share/lvm2-testsuite/shell/metadata-balance.sh:196:55: warning[SC2154]: vg2 is referenced but not assigned.
#  194|   	pvcreate --metadatacopies $mdacp "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#  195|   	vgcreate $SHARED --vgmetadatacopies 2 $vg1 "$dev1" "$dev2" "$dev3"
#  196|-> 	vgcreate $SHARED --vgmetadatacopies $(( mdacp * 1 )) $vg2 "$dev4" "$dev5"
#  197|   	echo vgsplit/vgmerge preserves value of metadata copies
#  198|   	check vg_field $vg1 vg_mda_copies 2

Error: SHELLCHECK_WARNING (CWE-563): [#def847]
/usr/share/lvm2-testsuite/shell/metadata-full.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test full metadata'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def848]
/usr/share/lvm2-testsuite/shell/metadata-full.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Test full metadata'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def849]
/usr/share/lvm2-testsuite/shell/metadata-full.sh:31:45: warning[SC2154]: vg is referenced but not assigned.
#   29|   get_devs
#   30|   
#   31|-> vgcreate $SHARED -s 512K --metadatacopies 8 $vg "${DEVICES[@]}"
#   32|   
#   33|   

Error: SHELLCHECK_WARNING (CWE-563): [#def850]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def851]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:29:18: warning[SC2154]: vg is referenced but not assigned.
#   27|   #
#   28|   
#   29|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   30|   
#   31|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def852]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:29:23: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   #
#   28|   
#   29|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   30|   
#   31|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def853]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:29:31: warning[SC2154]: dev2 is referenced but not assigned.
#   27|   #
#   28|   
#   29|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   30|   
#   31|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def854]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:29:39: warning[SC2154]: dev3 is referenced but not assigned.
#   27|   #
#   28|   
#   29|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   30|   
#   31|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def855]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:35:13: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   #
#   34|   
#   35|-> lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   36|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def856]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:36:13: warning[SC2154]: lv2 is referenced but not assigned.
#   34|   
#   35|   lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   36|-> lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   37|   
#   38|   aux disable_dev "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def857]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:102:13: warning[SC2154]: lv3 is referenced but not assigned.
#  100|   
#  101|   # fixes the old metadata on dev1
#  102|-> lvcreate -n $lv3 -l1 -an $vg
#  103|   
#  104|   pvs 2>&1 | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def858]
/usr/share/lvm2-testsuite/shell/metadata-old.sh:163:13: warning[SC2154]: lv4 is referenced but not assigned.
#  161|   # This command which writes the VG should update
#  162|   # all of the old copies.
#  163|-> lvcreate -n $lv4 -l1 -an $vg
#  164|   
#  165|   pvs 2>&1 | tee out

Error: SHELLCHECK_WARNING (CWE-563): [#def859]
/usr/share/lvm2-testsuite/shell/metadata-zero-space.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def860]
/usr/share/lvm2-testsuite/shell/metadata-zero-space.sh:24:24: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   # Fill with random data so if the space between metadata
#   23|   # copies are not zeroed the grep for zeros will fail.
#   24|-> dd if=/dev/urandom of="$dev1" bs=1M count=1 || true
#   25|   dd if=/dev/urandom of="$dev1" bs=1M skip=15 count=1 || true
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def861]
/usr/share/lvm2-testsuite/shell/metadata-zero-space.sh:29:19: warning[SC2154]: vg is referenced but not assigned.
#   27|   pvcreate --pvmetadatacopies 2 "$dev1"
#   28|   
#   29|-> vgcreate $SHARED "$vg" "$dev1"
#   30|   
#   31|   for i in $(seq 1 50); do lvcreate -l1 -an $vg; done

Error: SHELLCHECK_WARNING (CWE-563): [#def862]
/usr/share/lvm2-testsuite/shell/metadata-zero-space.sh:31:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   29|   vgcreate $SHARED "$vg" "$dev1"
#   30|   
#   31|-> for i in $(seq 1 50); do lvcreate -l1 -an $vg; done
#   32|   
#   33|   # Check metadata copies are separated by zeroes in the first mda

Error: SHELLCHECK_WARNING (CWE-563): [#def863]
/usr/share/lvm2-testsuite/shell/metadata.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def864]
/usr/share/lvm2-testsuite/shell/metadata.sh:20:11: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   get_devs
#   19|   
#   20|-> pvcreate "$dev1"
#   21|   pvcreate --metadatacopies 0 "$dev2"
#   22|   pvcreate --metadatacopies 0 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def865]
/usr/share/lvm2-testsuite/shell/metadata.sh:21:30: warning[SC2154]: dev2 is referenced but not assigned.
#   19|   
#   20|   pvcreate "$dev1"
#   21|-> pvcreate --metadatacopies 0 "$dev2"
#   22|   pvcreate --metadatacopies 0 "$dev3"
#   23|   pvcreate "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def866]
/usr/share/lvm2-testsuite/shell/metadata.sh:22:30: warning[SC2154]: dev3 is referenced but not assigned.
#   20|   pvcreate "$dev1"
#   21|   pvcreate --metadatacopies 0 "$dev2"
#   22|-> pvcreate --metadatacopies 0 "$dev3"
#   23|   pvcreate "$dev4"
#   24|   pvcreate --metadatacopies 0 "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def867]
/usr/share/lvm2-testsuite/shell/metadata.sh:23:11: warning[SC2154]: dev4 is referenced but not assigned.
#   21|   pvcreate --metadatacopies 0 "$dev2"
#   22|   pvcreate --metadatacopies 0 "$dev3"
#   23|-> pvcreate "$dev4"
#   24|   pvcreate --metadatacopies 0 "$dev5"
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def868]
/usr/share/lvm2-testsuite/shell/metadata.sh:24:30: warning[SC2154]: dev5 is referenced but not assigned.
#   22|   pvcreate --metadatacopies 0 "$dev3"
#   23|   pvcreate "$dev4"
#   24|-> pvcreate --metadatacopies 0 "$dev5"
#   25|   
#   26|   vgcreate $SHARED "$vg" "${DEVICES[@]}"

Error: SHELLCHECK_WARNING (CWE-457): [#def869]
/usr/share/lvm2-testsuite/shell/metadata.sh:26:19: warning[SC2154]: vg is referenced but not assigned.
#   24|   pvcreate --metadatacopies 0 "$dev5"
#   25|   
#   26|-> vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   27|   lvcreate -n $lv -l 1 -i5 -I256 $vg
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def870]
/usr/share/lvm2-testsuite/shell/metadata.sh:27:13: warning[SC2154]: lv is referenced but not assigned.
#   25|   
#   26|   vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   27|-> lvcreate -n $lv -l 1 -i5 -I256 $vg
#   28|   
#   29|   pvck --dump metadata "$dev1" > meta1

Error: SHELLCHECK_WARNING (CWE-457): [#def871]
/usr/share/lvm2-testsuite/shell/metadata.sh:45:14: warning[SC2154]: lv1 is referenced but not assigned.
#   43|   	pvcreate "$dev1"
#   44|   	vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   45|-> 	lvcreate -n $lv1 -l 2 -i5 -I256 $vg
#   46|   	lvcreate -aey -n $lv2 --type mirror -m2 -l 2  $vg
#   47|   	lvchange -an $vg/$lv1 $vg/$lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def872]
/usr/share/lvm2-testsuite/shell/metadata.sh:46:19: warning[SC2154]: lv2 is referenced but not assigned.
#   44|   	vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   45|   	lvcreate -n $lv1 -l 2 -i5 -I256 $vg
#   46|-> 	lvcreate -aey -n $lv2 --type mirror -m2 -l 2  $vg
#   47|   	lvchange -an $vg/$lv1 $vg/$lv2
#   48|   	vgchange -aey $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def873]
/usr/share/lvm2-testsuite/shell/mirror-names.sh:14:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   12|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   13|   
#   14|-> test_description="check namings of mirrored LV"
#   15|   
#   16|   

Error: SHELLCHECK_WARNING (CWE-457): [#def874]
/usr/share/lvm2-testsuite/shell/mirror-names.sh:58:20: warning[SC2154]: vg is referenced but not assigned.
#   56|   
#   57|   check_and_cleanup_lvs_() {
#   58|-> 	lvs -a -o+devices $vg
#   59|   	lvremove -ff $vg
#   60|   	(dm_table | not grep $vg) || \

Error: SHELLCHECK_WARNING (CWE-457): [#def875]
/usr/share/lvm2-testsuite/shell/mirror-names.sh:77:43: warning[SC2154]: lv1 is referenced but not assigned.
#   75|   
#   76|   #COMM "mirror images are ${lv1}_mimage_x"
#   77|-> lvcreate -an -Zn -l2 --type mirror -m1 -n $lv1 $vg
#   78|   lv_devices_ $vg/$lv1 ${lv1}_mimage_0 ${lv1}_mimage_1
#   79|   

Error: SHELLCHECK_WARNING (CWE-457): [#def876]
/usr/share/lvm2-testsuite/shell/mirror-names.sh:99:23: warning[SC2154]: lv2 is referenced but not assigned.
#   97|   #COMM "renamed mirror names: $lv1 to $lv2"
#   98|   lvcreate -an -Zn -l2 --type mirror -m1 -n $lv1 $vg
#   99|-> lvrename $vg/$lv1 $vg/$lv2
#  100|   lv_devices_ $vg/$lv2 ${lv2}_mimage_0 ${lv2}_mimage_1
#  101|   lv_mirror_log_ $vg/$lv2 ${lv2}_mlog

Error: SHELLCHECK_WARNING (CWE-563): [#def877]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:14:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   12|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   13|   
#   14|-> test_description="ensure that 'vgreduce --removemissing' works on mirrored LV"
#   15|   
#   16|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def878]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   test_description="ensure that 'vgreduce --removemissing' works on mirrored LV"
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def879]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:24:11: warning[SC2154]: vg is referenced but not assigned.
#   22|   lv_is_on_ ()
#   23|   {
#   24|-> 	local lv=$vg/$1
#   25|   	shift
#   26|   	local list_pvs=( "$@" )

Error: SHELLCHECK_WARNING (CWE-457): [#def880]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:143:52: warning[SC2154]: lv1 is referenced but not assigned.
#  141|   #COMM "basic: fail the 2nd mirror image of 2-way mirrored LV"
#  142|   prepare_lvs_
#  143|-> lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev3":$BLOCKS
#  144|   mimages_are_on_ $lv1 "$dev1" "$dev2"
#  145|   mirrorlog_is_on_ $lv1 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def881]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:143:62: warning[SC2154]: dev1 is referenced but not assigned.
#  141|   #COMM "basic: fail the 2nd mirror image of 2-way mirrored LV"
#  142|   prepare_lvs_
#  143|-> lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev3":$BLOCKS
#  144|   mimages_are_on_ $lv1 "$dev1" "$dev2"
#  145|   mirrorlog_is_on_ $lv1 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def882]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:143:70: warning[SC2154]: dev2 is referenced but not assigned.
#  141|   #COMM "basic: fail the 2nd mirror image of 2-way mirrored LV"
#  142|   prepare_lvs_
#  143|-> lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev3":$BLOCKS
#  144|   mimages_are_on_ $lv1 "$dev1" "$dev2"
#  145|   mirrorlog_is_on_ $lv1 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def883]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:143:78: warning[SC2154]: dev3 is referenced but not assigned.
#  141|   #COMM "basic: fail the 2nd mirror image of 2-way mirrored LV"
#  142|   prepare_lvs_
#  143|-> lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev3":$BLOCKS
#  144|   mimages_are_on_ $lv1 "$dev1" "$dev2"
#  145|   mirrorlog_is_on_ $lv1 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def884]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:163:87: warning[SC2154]: dev4 is referenced but not assigned.
#  161|   	local index=$1
#  162|   
#  163|-> 	lvcreate -an -Zn -l2 --type mirror -m2 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev3" "$dev4":$BLOCKS
#  164|   	mimages_are_on_ $lv1 "$dev1" "$dev2" "$dev3"
#  165|   	mirrorlog_is_on_ $lv1 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def885]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:228:78: warning[SC2154]: dev5 is referenced but not assigned.
#  226|   	local index=$1
#  227|   
#  228|-> 	lvcreate -an -Zn -l2 --type mirror -m2 -n $lv1 $vg "$dev1" "$dev2" "$dev3" "$dev5":$BLOCKS
#  229|   	lvconvert -m+1 $vg/$lv1 "$dev4"
#  230|   	check mirror_images_on $vg $lv1 "$dev1" "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def886]
/usr/share/lvm2-testsuite/shell/mirror-vgreduce-removemissing.sh:416:52: warning[SC2154]: lv2 is referenced but not assigned.
#  414|   prepare_lvs_
#  415|   lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv1 $vg "$dev1" "$dev2" "$dev5":$BLOCKS
#  416|-> lvcreate -an -Zn -l2 --type mirror -m1 --nosync -n $lv2 $vg "$dev3" "$dev4" "$dev5":$BLOCKS1
#  417|   mimages_are_on_ $lv1 "$dev1" "$dev2"
#  418|   mimages_are_on_ $lv2 "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-563): [#def887]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def888]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:19:13: warning[SC2154]: lv1 is referenced but not assigned.
#   17|   aux prepare_vg 3
#   18|   
#   19|-> lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|   lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def889]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:19:23: warning[SC2154]: vg is referenced but not assigned.
#   17|   aux prepare_vg 3
#   18|   
#   19|-> lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|   lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def890]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:19:28: warning[SC2154]: dev2 is referenced but not assigned.
#   17|   aux prepare_vg 3
#   18|   
#   19|-> lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|   lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def891]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:20:13: warning[SC2154]: lv2 is referenced but not assigned.
#   18|   
#   19|   lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|-> lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"
#   22|   lvcreate -n $lv4 -L8M $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def892]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:20:28: warning[SC2154]: dev3 is referenced but not assigned.
#   18|   
#   19|   lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|-> lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"
#   22|   lvcreate -n $lv4 -L8M $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def893]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:21:13: warning[SC2154]: lv3 is referenced but not assigned.
#   19|   lvcreate -n $lv1 -L8M $vg "$dev2"
#   20|   lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|-> lvcreate -n $lv3 -L8M $vg "$dev2"
#   22|   lvcreate -n $lv4 -L8M $vg "$dev3"
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def894]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:22:13: warning[SC2154]: lv4 is referenced but not assigned.
#   20|   lvcreate -n $lv2 -L8M $vg "$dev3"
#   21|   lvcreate -n $lv3 -L8M $vg "$dev2"
#   22|-> lvcreate -n $lv4 -L8M $vg "$dev3"
#   23|   
#   24|   vgchange -an $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def895]
/usr/share/lvm2-testsuite/shell/missing-pv-unused.sh:27:18: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   
#   26|   # Fail device that is not used by any LVs.
#   27|-> aux disable_dev "$dev1"
#   28|   
#   29|   pvs

Error: SHELLCHECK_WARNING (CWE-563): [#def896]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def897]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:19:13: warning[SC2154]: lv1 is referenced but not assigned.
#   17|   aux prepare_vg 3
#   18|   
#   19|-> lvcreate -n $lv1 -L8M --type mirror -m 1 $vg
#   20|   lvcreate -n $lv2 -L8M --type mirror -m 1 $vg
#   21|   

Error: SHELLCHECK_WARNING (CWE-457): [#def898]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:19:42: warning[SC2154]: vg is referenced but not assigned.
#   17|   aux prepare_vg 3
#   18|   
#   19|-> lvcreate -n $lv1 -L8M --type mirror -m 1 $vg
#   20|   lvcreate -n $lv2 -L8M --type mirror -m 1 $vg
#   21|   

Error: SHELLCHECK_WARNING (CWE-457): [#def899]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:20:13: warning[SC2154]: lv2 is referenced but not assigned.
#   18|   
#   19|   lvcreate -n $lv1 -L8M --type mirror -m 1 $vg
#   20|-> lvcreate -n $lv2 -L8M --type mirror -m 1 $vg
#   21|   
#   22|   vgchange -an $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def900]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:29:18: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   
#   28|   # Fail one leg of each mirror LV.
#   29|-> aux disable_dev "$dev1"
#   30|   
#   31|   pvs -o+missing |tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def901]
/usr/share/lvm2-testsuite/shell/missing-pv.sh:61:23: warning[SC2154]: dev2 is referenced but not assigned.
#   59|   # it should have been written by the lvconvert since the
#   60|   # missing PV is still used by lv2.
#   61|-> pvck --dump metadata "$dev2" > meta
#   62|   grep MISSING meta
#   63|   rm meta

Error: SHELLCHECK_WARNING (CWE-563): [#def902]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_ex_timeout_hosta.sh:24:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   22|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_ex_timeout_hostb.sh
#   23|   
#   24|-> SKIP_WITH_LVMPOLLD=1
#   25|   
#   26|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-140): [#def903]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_ex_timeout_hosta.sh:67:18: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   65|   				base_name="$(basename -- ${dev})"
#   66|   				drive_list+=("$base_name")
#   67|-> 				host_list+=( $(readlink "/sys/block/$base_name" | awk -F'/' '{print $6}') )
#   68|   			fi
#   69|   		fi

Error: SHELLCHECK_WARNING (CWE-563): [#def904]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_ex_timeout_hostb.sh:24:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   22|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_ex_timeout_hostb.sh
#   23|   
#   24|-> SKIP_WITH_LVMPOLLD=1
#   25|   
#   26|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def905]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_hosta.sh:25:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   23|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_hostb.sh
#   24|   
#   25|-> SKIP_WITH_LVMPOLLD=1
#   26|   
#   27|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def906]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_hosta.sh:39:1: warning[SC2034]: BLKDEVS_NUM appears unused. Verify use (or export if used externally).
#   37|   aux lvmconf "devices/allow_changes_with_duplicate_pvs = 1"
#   38|   
#   39|-> BLKDEVS_NUM=${#BLKDEVS[@]}
#   40|   
#   41|   for d in "${BLKDEVS[@]}"; do

Error: SHELLCHECK_WARNING (CWE-563): [#def907]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_hostb.sh:25:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   23|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_hostb.sh
#   24|   
#   25|-> SKIP_WITH_LVMPOLLD=1
#   26|   
#   27|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def908]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_sh_timeout_hosta.sh:24:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   22|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_sh_timeout_hostb.sh
#   23|   
#   24|-> SKIP_WITH_LVMPOLLD=1
#   25|   
#   26|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-140): [#def909]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_sh_timeout_hosta.sh:67:18: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#   65|   				base_name="$(basename -- ${dev})"
#   66|   				drive_list+=("$base_name")
#   67|-> 				host_list+=( $(readlink "/sys/block/$base_name" | awk -F'/' '{print $6}') )
#   68|   			fi
#   69|   		fi

Error: SHELLCHECK_WARNING (CWE-563): [#def910]
/usr/share/lvm2-testsuite/shell/multi_hosts_lv_sh_timeout_hostb.sh:24:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   22|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_lv_ex_timeout_hostb.sh
#   23|   
#   24|-> SKIP_WITH_LVMPOLLD=1
#   25|   
#   26|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def911]
/usr/share/lvm2-testsuite/shell/multi_hosts_vg_hosta.sh:25:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   23|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_vg_hostb.sh
#   24|   
#   25|-> SKIP_WITH_LVMPOLLD=1
#   26|   
#   27|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def912]
/usr/share/lvm2-testsuite/shell/multi_hosts_vg_hostb.sh:25:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   23|   #     LVM_TEST_MULTI_HOST=1 T=multi_hosts_vg_hostb.sh
#   24|   
#   25|-> SKIP_WITH_LVMPOLLD=1
#   26|   
#   27|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def913]
/usr/share/lvm2-testsuite/shell/multipath-config.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='using multipath blacklist'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def914]
/usr/share/lvm2-testsuite/shell/multipath-config.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='using multipath blacklist'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def915]
/usr/share/lvm2-testsuite/shell/multipath-config.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def916]
/usr/share/lvm2-testsuite/shell/multipath-config.sh:84:10: warning[SC2154]: vg1 is referenced but not assigned.
#   82|   
#   83|   pvcreate $MP_DEV
#   84|-> vgcreate $vg1 $MP_DEV
#   85|   
#   86|   not pvs $SD_DEV

Error: SHELLCHECK_WARNING (CWE-563): [#def917]
/usr/share/lvm2-testsuite/shell/name-mangling.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   # so skip duplicate CLMVD and lvmetad test
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def918]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def919]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:19:11: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 4
#   19|-> pvcreate "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3" "$dev4"
#   21|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def920]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:19:19: warning[SC2154]: dev2 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 4
#   19|-> pvcreate "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3" "$dev4"
#   21|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def921]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:20:30: warning[SC2154]: dev3 is referenced but not assigned.
#   18|   aux prepare_devs 4
#   19|   pvcreate "$dev1" "$dev2"
#   20|-> pvcreate --metadatacopies 0 "$dev3" "$dev4"
#   21|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def922]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:20:38: warning[SC2154]: dev4 is referenced but not assigned.
#   18|   aux prepare_devs 4
#   19|   pvcreate "$dev1" "$dev2"
#   20|-> pvcreate --metadatacopies 0 "$dev3" "$dev4"
#   21|   vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def923]
/usr/share/lvm2-testsuite/shell/nomda-missing.sh:21:18: warning[SC2154]: vg is referenced but not assigned.
#   19|   pvcreate "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3" "$dev4"
#   21|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4"
#   22|   
#   23|   lvcreate -l1 -n linear1 $vg "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def924]
/usr/share/lvm2-testsuite/shell/nomda-restoremissing.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def925]
/usr/share/lvm2-testsuite/shell/nomda-restoremissing.sh:20:30: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_vg 3
#   19|   
#   20|-> pvchange --metadataignore y "$dev1"
#   21|   
#   22|   lvcreate -aey --type mirror -m 1 -l 1 -n mirror $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def926]
/usr/share/lvm2-testsuite/shell/nomda-restoremissing.sh:22:49: warning[SC2154]: vg is referenced but not assigned.
#   20|   pvchange --metadataignore y "$dev1"
#   21|   
#   22|-> lvcreate -aey --type mirror -m 1 -l 1 -n mirror $vg
#   23|   lvchange -a n $vg/mirror
#   24|   lvcreate -l 1 -n lv1 $vg "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def927]
/usr/share/lvm2-testsuite/shell/open-file-limit.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   # Test scan_lvs config setting
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def928]
/usr/share/lvm2-testsuite/shell/open-file-limit.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def929]
/usr/share/lvm2-testsuite/shell/orphan-ondisk.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def930]
/usr/share/lvm2-testsuite/shell/orphan-ondisk.sh:19:10: warning[SC2154]: vg is referenced but not assigned.
#   17|   
#   18|   aux prepare_vg 2
#   19|-> vgreduce $vg "$dev1" 2>&1 | not grep -i 'parse error'

Error: SHELLCHECK_WARNING (CWE-457): [#def931]
/usr/share/lvm2-testsuite/shell/orphan-ondisk.sh:19:15: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_vg 2
#   19|-> vgreduce $vg "$dev1" 2>&1 | not grep -i 'parse error'

Error: SHELLCHECK_WARNING (CWE-563): [#def932]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def933]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:26:13: warning[SC2154]: lv1 is referenced but not assigned.
#   24|   #
#   25|   
#   26|-> lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   27|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def934]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:26:26: warning[SC2154]: vg is referenced but not assigned.
#   24|   #
#   25|   
#   26|-> lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   27|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def935]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:26:31: warning[SC2154]: dev1 is referenced but not assigned.
#   24|   #
#   25|   
#   26|-> lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   27|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def936]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:27:13: warning[SC2154]: lv2 is referenced but not assigned.
#   25|   
#   26|   lvcreate -n $lv1 -l1 -an $vg "$dev1"
#   27|-> lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   28|   
#   29|   aux disable_dev "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def937]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:29:18: warning[SC2154]: dev2 is referenced but not assigned.
#   27|   lvcreate -n $lv2 -l1 -an $vg "$dev1"
#   28|   
#   29|-> aux disable_dev "$dev2"
#   30|   
#   31|   vgreduce --removemissing $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def938]
/usr/share/lvm2-testsuite/shell/outdated-pv.sh:43:13: warning[SC2154]: lv3 is referenced but not assigned.
#   41|   
#   42|   # The VG can still be used with the outdated PV around
#   43|-> lvcreate -n $lv3 -l1 $vg
#   44|   lvchange -ay $vg
#   45|   lvs $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def939]
/usr/share/lvm2-testsuite/shell/pe-align.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test pe alignment and metadata sizes'
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def940]
/usr/share/lvm2-testsuite/shell/pe-align.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description='Test pe alignment and metadata sizes'
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def941]
/usr/share/lvm2-testsuite/shell/pe-align.sh:30:11: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   # devices/default_data_alignment
#   29|   
#   30|-> pvcreate "$dev1"
#   31|   check pv_field "$dev1" pe_start 1.00m
#   32|   check pv_field "$dev1" mda_size 1020.00k

Error: SHELLCHECK_WARNING (CWE-563): [#def942]
/usr/share/lvm2-testsuite/shell/pool-labels.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def943]
/usr/share/lvm2-testsuite/shell/pool-labels.sh:32:23: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   aux prepare_devs 2
#   31|   
#   32|-> create_pool_label_ 0 "$dev1"
#   33|   create_pool_label_ 1 "$dev2"
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def944]
/usr/share/lvm2-testsuite/shell/pool-labels.sh:33:23: warning[SC2154]: dev2 is referenced but not assigned.
#   31|   
#   32|   create_pool_label_ 0 "$dev1"
#   33|-> create_pool_label_ 1 "$dev2"
#   34|   
#   35|   # verify that lvm will ignore and not use a gfs-pool device

Error: SHELLCHECK_WARNING (CWE-563): [#def945]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:9:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#    7|   # of the GNU General Public License v.2.
#    8|   
#    9|-> test_description='Test duplicate PVs'
#   10|   
#   11|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def946]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:11:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    9|   test_description='Test duplicate PVs'
#   10|   
#   11|-> SKIP_WITH_LVMPOLLD=1
#   12|   SKIP_WITH_CLVMD=1
#   13|   

Error: SHELLCHECK_WARNING (CWE-563): [#def947]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:12:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   10|   
#   11|   SKIP_WITH_LVMPOLLD=1
#   12|-> SKIP_WITH_CLVMD=1
#   13|   
#   14|   # This test should work with real device ids (not devnames).

Error: SHELLCHECK_WARNING (CWE-563): [#def948]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:22:1: warning[SC2034]: SKIP_WITH_DEVICES_FILE appears unused. Verify use (or export if used externally).
#   20|   # In general this is better behavior, but needs to be tested
#   21|   # with proper device ids.
#   22|-> SKIP_WITH_DEVICES_FILE=1
#   23|   
#   24|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def949]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:35:11: warning[SC2154]: dev1 is referenced but not assigned.
#   33|   aux lvmconf 'devices/allow_changes_with_duplicate_pvs = 0'
#   34|   
#   35|-> pvcreate "$dev1"
#   36|   pvcreate "$dev2"
#   37|   vgcreate $SHARED $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def950]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:36:11: warning[SC2154]: dev2 is referenced but not assigned.
#   34|   
#   35|   pvcreate "$dev1"
#   36|-> pvcreate "$dev2"
#   37|   vgcreate $SHARED $vg1 "$dev1"
#   38|   vgcreate $SHARED $vg2 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def951]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:37:18: warning[SC2154]: vg1 is referenced but not assigned.
#   35|   pvcreate "$dev1"
#   36|   pvcreate "$dev2"
#   37|-> vgcreate $SHARED $vg1 "$dev1"
#   38|   vgcreate $SHARED $vg2 "$dev2"
#   39|   pvresize --setphysicalvolumesize 8m -y "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def952]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:38:18: warning[SC2154]: vg2 is referenced but not assigned.
#   36|   pvcreate "$dev2"
#   37|   vgcreate $SHARED $vg1 "$dev1"
#   38|-> vgcreate $SHARED $vg2 "$dev2"
#   39|   pvresize --setphysicalvolumesize 8m -y "$dev2"
#   40|   lvcreate -an -l1 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def953]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:40:21: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg2 "$dev2"
#   39|   pvresize --setphysicalvolumesize 8m -y "$dev2"
#   40|-> lvcreate -an -l1 -n $lv1 $vg1
#   41|   
#   42|   # Both devs are shown and used by the VG

Error: SHELLCHECK_WARNING (CWE-457): [#def954]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:264:25: warning[SC2154]: lv2 is referenced but not assigned.
#  262|   # cannot be modified or activated.
#  263|   
#  264|-> not lvcreate -an -l1 -n $lv2 $vg1
#  265|   not lvremove $vg1/$lv1
#  266|   not lvchange -ay $vg1/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def955]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:286:11: warning[SC2154]: dev3 is referenced but not assigned.
#  284|   # dev3 and dev4 are copies, orphans
#  285|   
#  286|-> pvcreate "$dev3"
#  287|   pvcreate "$dev4"
#  288|   pvresize --setphysicalvolumesize 8m -y "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def956]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:287:11: warning[SC2154]: dev4 is referenced but not assigned.
#  285|   
#  286|   pvcreate "$dev3"
#  287|-> pvcreate "$dev4"
#  288|   pvresize --setphysicalvolumesize 8m -y "$dev4"
#  289|   

Error: SHELLCHECK_WARNING (CWE-457): [#def957]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:402:19: warning[SC2154]: dev5 is referenced but not assigned.
#  400|   lvcreate -l1 -n $lv2 $vg2 "$dev4"
#  401|   
#  402|-> dd if="$dev3" of="$dev5" bs=1M iflag=direct oflag=direct,sync
#  403|   dd if="$dev4" of="$dev6" bs=1M iflag=direct oflag=direct,sync
#  404|   # dev5/dev6 not pvs so dd'ing pv onto them causes invalid hints

Error: SHELLCHECK_WARNING (CWE-457): [#def958]
/usr/share/lvm2-testsuite/shell/process-each-duplicate-pvs.sh:403:19: warning[SC2154]: dev6 is referenced but not assigned.
#  401|   
#  402|   dd if="$dev3" of="$dev5" bs=1M iflag=direct oflag=direct,sync
#  403|-> dd if="$dev4" of="$dev6" bs=1M iflag=direct oflag=direct,sync
#  404|   # dev5/dev6 not pvs so dd'ing pv onto them causes invalid hints
#  405|   # that won't be detected, so 5/6 won't be scanned unless we

Error: SHELLCHECK_WARNING (CWE-563): [#def959]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_lv'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def960]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise toollib process_each_lv'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def961]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:45:19: warning[SC2154]: vg1 is referenced but not assigned.
#   43|   prepare_vgs_() {
#   44|   	# set up vgs/lvs that we will remove
#   45|-> 	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def962]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:45:25: warning[SC2154]: dev1 is referenced but not assigned.
#   43|   prepare_vgs_() {
#   44|   	# set up vgs/lvs that we will remove
#   45|-> 	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def963]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:45:33: warning[SC2154]: dev2 is referenced but not assigned.
#   43|   prepare_vgs_() {
#   44|   	# set up vgs/lvs that we will remove
#   45|-> 	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def964]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:46:19: warning[SC2154]: vg2 is referenced but not assigned.
#   44|   	# set up vgs/lvs that we will remove
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|-> 	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def965]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:46:25: warning[SC2154]: dev3 is referenced but not assigned.
#   44|   	# set up vgs/lvs that we will remove
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|-> 	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def966]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:46:33: warning[SC2154]: dev4 is referenced but not assigned.
#   44|   	# set up vgs/lvs that we will remove
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|-> 	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def967]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:47:19: warning[SC2154]: vg3 is referenced but not assigned.
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|-> 	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"

Error: SHELLCHECK_WARNING (CWE-457): [#def968]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:47:25: warning[SC2154]: dev5 is referenced but not assigned.
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|-> 	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"

Error: SHELLCHECK_WARNING (CWE-457): [#def969]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:47:33: warning[SC2154]: dev6 is referenced but not assigned.
#   45|   	vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|-> 	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"

Error: SHELLCHECK_WARNING (CWE-457): [#def970]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:48:19: warning[SC2154]: vg4 is referenced but not assigned.
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|-> 	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def971]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:48:25: warning[SC2154]: dev7 is referenced but not assigned.
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|-> 	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def972]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:48:33: warning[SC2154]: dev8 is referenced but not assigned.
#   46|   	vgcreate $SHARED $vg2 "$dev3" "$dev4"
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|-> 	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def973]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:49:19: warning[SC2154]: vg5 is referenced but not assigned.
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|-> 	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1
#   51|   	lvcreate -Zn -an -l 2 -n $lv1 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def974]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:49:25: warning[SC2154]: dev9 is referenced but not assigned.
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|-> 	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1
#   51|   	lvcreate -Zn -an -l 2 -n $lv1 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def975]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:49:33: warning[SC2154]: dev10 is referenced but not assigned.
#   47|   	vgcreate $SHARED $vg3 "$dev5" "$dev6"
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|-> 	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1
#   51|   	lvcreate -Zn -an -l 2 -n $lv1 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def976]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:50:27: warning[SC2154]: lv1 is referenced but not assigned.
#   48|   	vgcreate $SHARED $vg4 "$dev7" "$dev8"
#   49|   	vgcreate $SHARED $vg5 "$dev9" "$dev10"
#   50|-> 	lvcreate -Zn -an -l 2 -n $lv1 $vg1
#   51|   	lvcreate -Zn -an -l 2 -n $lv1 $vg2
#   52|   	lvcreate -Zn -an -l 2 -n $lv2 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def977]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:52:27: warning[SC2154]: lv2 is referenced but not assigned.
#   50|   	lvcreate -Zn -an -l 2 -n $lv1 $vg1
#   51|   	lvcreate -Zn -an -l 2 -n $lv1 $vg2
#   52|-> 	lvcreate -Zn -an -l 2 -n $lv2 $vg2
#   53|   	lvcreate -Zn -an -l 2 -n $lv1 $vg3
#   54|   	lvcreate -Zn -an -l 2 -n $lv2 $vg3

Error: SHELLCHECK_WARNING (CWE-457): [#def978]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:55:27: warning[SC2154]: lv3 is referenced but not assigned.
#   53|   	lvcreate -Zn -an -l 2 -n $lv1 $vg3
#   54|   	lvcreate -Zn -an -l 2 -n $lv2 $vg3
#   55|-> 	lvcreate -Zn -an -l 2 -n $lv3 $vg3
#   56|   	lvcreate -Zn -an -l 2 -n $lv1 $vg5
#   57|   	lvcreate -Zn -an -l 2 -n $lv2 $vg5

Error: SHELLCHECK_WARNING (CWE-457): [#def979]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:59:27: warning[SC2154]: lv4 is referenced but not assigned.
#   57|   	lvcreate -Zn -an -l 2 -n $lv2 $vg5
#   58|   	lvcreate -Zn -an -l 2 -n $lv3 $vg5
#   59|-> 	lvcreate -Zn -an -l 2 -n $lv4 $vg5
#   60|   	lvcreate -Zn -an -l 2 -n $lv5 $vg5
#   61|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def980]
/usr/share/lvm2-testsuite/shell/process-each-lv.sh:60:27: warning[SC2154]: lv5 is referenced but not assigned.
#   58|   	lvcreate -Zn -an -l 2 -n $lv3 $vg5
#   59|   	lvcreate -Zn -an -l 2 -n $lv4 $vg5
#   60|-> 	lvcreate -Zn -an -l 2 -n $lv5 $vg5
#   61|   }
#   62|   

Error: SHELLCHECK_WARNING (CWE-563): [#def981]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test process_each_pv with zero mda'
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def982]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description='Test process_each_pv with zero mda'
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def983]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:21:11: warning[SC2154]: dev10 is referenced but not assigned.
#   19|   
#   20|   # for vg1
#   21|-> pvcreate "$dev10"
#   22|   
#   23|   # for vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def984]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:24:11: warning[SC2154]: dev2 is referenced but not assigned.
#   22|   
#   23|   # for vg2
#   24|-> pvcreate "$dev2" --metadatacopies 0
#   25|   pvcreate "$dev3"
#   26|   pvcreate "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def985]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:25:11: warning[SC2154]: dev3 is referenced but not assigned.
#   23|   # for vg2
#   24|   pvcreate "$dev2" --metadatacopies 0
#   25|-> pvcreate "$dev3"
#   26|   pvcreate "$dev4"
#   27|   pvcreate "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def986]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:26:11: warning[SC2154]: dev4 is referenced but not assigned.
#   24|   pvcreate "$dev2" --metadatacopies 0
#   25|   pvcreate "$dev3"
#   26|-> pvcreate "$dev4"
#   27|   pvcreate "$dev5"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def987]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:27:11: warning[SC2154]: dev5 is referenced but not assigned.
#   25|   pvcreate "$dev3"
#   26|   pvcreate "$dev4"
#   27|-> pvcreate "$dev5"
#   28|   
#   29|   # for vg3

Error: SHELLCHECK_WARNING (CWE-457): [#def988]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:30:11: warning[SC2154]: dev6 is referenced but not assigned.
#   28|   
#   29|   # for vg3
#   30|-> pvcreate "$dev6" --metadatacopies 0
#   31|   pvcreate "$dev7" --metadatacopies 0
#   32|   pvcreate "$dev8" --metadatacopies 0

Error: SHELLCHECK_WARNING (CWE-457): [#def989]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:31:11: warning[SC2154]: dev7 is referenced but not assigned.
#   29|   # for vg3
#   30|   pvcreate "$dev6" --metadatacopies 0
#   31|-> pvcreate "$dev7" --metadatacopies 0
#   32|   pvcreate "$dev8" --metadatacopies 0
#   33|   pvcreate "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def990]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:32:11: warning[SC2154]: dev8 is referenced but not assigned.
#   30|   pvcreate "$dev6" --metadatacopies 0
#   31|   pvcreate "$dev7" --metadatacopies 0
#   32|-> pvcreate "$dev8" --metadatacopies 0
#   33|   pvcreate "$dev9"
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def991]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:33:11: warning[SC2154]: dev9 is referenced but not assigned.
#   31|   pvcreate "$dev7" --metadatacopies 0
#   32|   pvcreate "$dev8" --metadatacopies 0
#   33|-> pvcreate "$dev9"
#   34|   
#   35|   # orphan with mda

Error: SHELLCHECK_WARNING (CWE-457): [#def992]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:36:11: warning[SC2154]: dev11 is referenced but not assigned.
#   34|   
#   35|   # orphan with mda
#   36|-> pvcreate "$dev11"
#   37|   # orphan without mda
#   38|   pvcreate "$dev14" --metadatacopies 0

Error: SHELLCHECK_WARNING (CWE-457): [#def993]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:38:11: warning[SC2154]: dev14 is referenced but not assigned.
#   36|   pvcreate "$dev11"
#   37|   # orphan without mda
#   38|-> pvcreate "$dev14" --metadatacopies 0
#   39|   
#   40|   # non-pv devs

Error: SHELLCHECK_WARNING (CWE-457): [#def994]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:44:18: warning[SC2154]: vg1 is referenced but not assigned.
#   42|   # dev13
#   43|   
#   44|-> vgcreate $SHARED $vg1 "$dev10"
#   45|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   46|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def995]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:45:18: warning[SC2154]: vg2 is referenced but not assigned.
#   43|   
#   44|   vgcreate $SHARED $vg1 "$dev10"
#   45|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   46|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   47|   

Error: SHELLCHECK_WARNING (CWE-457): [#def996]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:46:18: warning[SC2154]: vg3 is referenced but not assigned.
#   44|   vgcreate $SHARED $vg1 "$dev10"
#   45|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   46|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   47|   
#   48|   pvs -a | tee err

Error: SHELLCHECK_WARNING (CWE-457): [#def997]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:59:7: warning[SC2154]: dev12 is referenced but not assigned.
#   57|   grep "$dev9" err
#   58|   grep "$dev11" err
#   59|-> grep "$dev12" err
#   60|   grep "$dev13" err
#   61|   grep "$dev14" err

Error: SHELLCHECK_WARNING (CWE-457): [#def998]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda-all.sh:60:7: warning[SC2154]: dev13 is referenced but not assigned.
#   58|   grep "$dev11" err
#   59|   grep "$dev12" err
#   60|-> grep "$dev13" err
#   61|   grep "$dev14" err
#   62|   

Error: SHELLCHECK_WARNING (CWE-563): [#def999]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test process_each_pv with zero mda'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1000]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Test process_each_pv with zero mda'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1001]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda.sh:21:11: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   aux prepare_devs 2
#   20|   
#   21|-> pvcreate "$dev1" --metadatacopies 0
#   22|   pvcreate "$dev2"
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1002]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda.sh:22:11: warning[SC2154]: dev2 is referenced but not assigned.
#   20|   
#   21|   pvcreate "$dev1" --metadatacopies 0
#   22|-> pvcreate "$dev2"
#   23|   
#   24|   vgcreate $SHARED $vg1 "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1003]
/usr/share/lvm2-testsuite/shell/process-each-pv-nomda.sh:24:18: warning[SC2154]: vg1 is referenced but not assigned.
#   22|   pvcreate "$dev2"
#   23|   
#   24|-> vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   25|   
#   26|   pvdisplay -a -C | tee err

Error: SHELLCHECK_WARNING (CWE-563): [#def1004]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_pv'
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1005]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description='Exercise toollib process_each_pv'
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1006]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:38:18: warning[SC2154]: vg1 is referenced but not assigned.
#   36|   #
#   37|   
#   38|-> vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1007]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:38:24: warning[SC2154]: dev10 is referenced but not assigned.
#   36|   #
#   37|   
#   38|-> vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1008]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:39:18: warning[SC2154]: vg2 is referenced but not assigned.
#   37|   
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1009]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:39:24: warning[SC2154]: dev2 is referenced but not assigned.
#   37|   
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1010]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:39:32: warning[SC2154]: dev3 is referenced but not assigned.
#   37|   
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1011]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:39:40: warning[SC2154]: dev4 is referenced but not assigned.
#   37|   
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1012]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:39:48: warning[SC2154]: dev5 is referenced but not assigned.
#   37|   
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1013]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:40:18: warning[SC2154]: vg3 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   
#   42|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1014]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:40:24: warning[SC2154]: dev6 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   
#   42|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1015]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:40:32: warning[SC2154]: dev7 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   
#   42|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1016]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:40:40: warning[SC2154]: dev8 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   
#   42|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1017]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:40:48: warning[SC2154]: dev9 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg1 "$dev10"
#   39|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   40|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   41|   
#   42|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1018]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:52:11: warning[SC2154]: dev11 is referenced but not assigned.
#   50|   
#   51|   # orphan
#   52|-> pvcreate "$dev11"
#   53|   
#   54|   # dev (a non-pv device)

Error: SHELLCHECK_WARNING (CWE-457): [#def1019]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:55:11: warning[SC2154]: dev12 is referenced but not assigned.
#   53|   
#   54|   # dev (a non-pv device)
#   55|-> pvcreate "$dev12"
#   56|   pvremove "$dev12"
#   57|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1020]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:62:11: warning[SC2154]: dev14 is referenced but not assigned.
#   60|   
#   61|   # orphan
#   62|-> pvcreate "$dev14"
#   63|   
#   64|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1021]
/usr/share/lvm2-testsuite/shell/process-each-pv.sh:82:11: warning[SC2154]: dev13 is referenced but not assigned.
#   80|   not grep "$dev11" err
#   81|   not grep "$dev12" err
#   82|-> not grep "$dev13" err
#   83|   not grep "$dev14" err
#   84|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1022]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_pv'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1023]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise toollib process_each_pv'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1024]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:37:18: warning[SC2154]: vg1 is referenced but not assigned.
#   35|   #
#   36|   
#   37|-> vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1025]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:37:24: warning[SC2154]: dev10 is referenced but not assigned.
#   35|   #
#   36|   
#   37|-> vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1026]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:38:18: warning[SC2154]: vg2 is referenced but not assigned.
#   36|   
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1027]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:38:24: warning[SC2154]: dev2 is referenced but not assigned.
#   36|   
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1028]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:38:32: warning[SC2154]: dev3 is referenced but not assigned.
#   36|   
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1029]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:38:40: warning[SC2154]: dev4 is referenced but not assigned.
#   36|   
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1030]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:38:48: warning[SC2154]: dev5 is referenced but not assigned.
#   36|   
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1031]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:39:18: warning[SC2154]: vg3 is referenced but not assigned.
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   
#   41|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1032]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:39:24: warning[SC2154]: dev6 is referenced but not assigned.
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   
#   41|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1033]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:39:32: warning[SC2154]: dev7 is referenced but not assigned.
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   
#   41|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1034]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:39:40: warning[SC2154]: dev8 is referenced but not assigned.
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   
#   41|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1035]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:39:48: warning[SC2154]: dev9 is referenced but not assigned.
#   37|   vgcreate $SHARED $vg1 "$dev10"
#   38|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   39|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   40|   
#   41|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1036]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:51:11: warning[SC2154]: dev11 is referenced but not assigned.
#   49|   
#   50|   # orphan
#   51|-> pvcreate "$dev11"
#   52|   
#   53|   # dev (a non-pv device)

Error: SHELLCHECK_WARNING (CWE-457): [#def1037]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:54:11: warning[SC2154]: dev12 is referenced but not assigned.
#   52|   
#   53|   # dev (a non-pv device)
#   54|-> pvcreate "$dev12"
#   55|   pvremove "$dev12"
#   56|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1038]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:61:11: warning[SC2154]: dev14 is referenced but not assigned.
#   59|   
#   60|   # orphan
#   61|-> pvcreate "$dev14"
#   62|   
#   63|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def1039]
/usr/share/lvm2-testsuite/shell/process-each-pvresize.sh:333:55: warning[SC2154]: dev13 is referenced but not assigned.
#  331|   
#  332|   # one dev (non-pv)
#  333|-> not pvresize --setphysicalvolumesize $new_request -y "$dev13"
#  334|   # unchanged
#  335|   check pv_field "$dev10" pv_size $old_reduced

Error: SHELLCHECK_WARNING (CWE-563): [#def1040]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_vg'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1041]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise toollib process_each_vg'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1042]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:32:18: warning[SC2154]: vg1 is referenced but not assigned.
#   30|   # set up four vgs that we will remove
#   31|   #
#   32|-> vgcreate $SHARED $vg1 "$dev1"
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1043]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:32:24: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   # set up four vgs that we will remove
#   31|   #
#   32|-> vgcreate $SHARED $vg1 "$dev1"
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1044]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:33:18: warning[SC2154]: vg2 is referenced but not assigned.
#   31|   #
#   32|   vgcreate $SHARED $vg1 "$dev1"
#   33|-> vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"
#   35|   vgcreate $SHARED $vg4 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1045]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:33:24: warning[SC2154]: dev2 is referenced but not assigned.
#   31|   #
#   32|   vgcreate $SHARED $vg1 "$dev1"
#   33|-> vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"
#   35|   vgcreate $SHARED $vg4 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1046]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:34:18: warning[SC2154]: vg3 is referenced but not assigned.
#   32|   vgcreate $SHARED $vg1 "$dev1"
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|-> vgcreate $SHARED $vg3 "$dev3"
#   35|   vgcreate $SHARED $vg4 "$dev4"
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1047]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:34:24: warning[SC2154]: dev3 is referenced but not assigned.
#   32|   vgcreate $SHARED $vg1 "$dev1"
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|-> vgcreate $SHARED $vg3 "$dev3"
#   35|   vgcreate $SHARED $vg4 "$dev4"
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1048]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:35:18: warning[SC2154]: vg4 is referenced but not assigned.
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"
#   35|-> vgcreate $SHARED $vg4 "$dev4"
#   36|   
#   37|   # these two vgs will not be removed

Error: SHELLCHECK_WARNING (CWE-457): [#def1049]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:35:24: warning[SC2154]: dev4 is referenced but not assigned.
#   33|   vgcreate $SHARED $vg2 "$dev2"
#   34|   vgcreate $SHARED $vg3 "$dev3"
#   35|-> vgcreate $SHARED $vg4 "$dev4"
#   36|   
#   37|   # these two vgs will not be removed

Error: SHELLCHECK_WARNING (CWE-457): [#def1050]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:38:18: warning[SC2154]: vg5 is referenced but not assigned.
#   36|   
#   37|   # these two vgs will not be removed
#   38|-> vgcreate $SHARED $vg5 "$dev5"
#   39|   vgchange --addtag tagvg5 $vg5
#   40|   lvcreate -l 4 -n $lv1 $vg5

Error: SHELLCHECK_WARNING (CWE-457): [#def1051]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:38:24: warning[SC2154]: dev5 is referenced but not assigned.
#   36|   
#   37|   # these two vgs will not be removed
#   38|-> vgcreate $SHARED $vg5 "$dev5"
#   39|   vgchange --addtag tagvg5 $vg5
#   40|   lvcreate -l 4 -n $lv1 $vg5

Error: SHELLCHECK_WARNING (CWE-457): [#def1052]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:40:18: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   vgcreate $SHARED $vg5 "$dev5"
#   39|   vgchange --addtag tagvg5 $vg5
#   40|-> lvcreate -l 4 -n $lv1 $vg5
#   41|   vgcreate $SHARED $vg6 "$dev6"
#   42|   lvcreate -l 4 -n $lv2 $vg6

Error: SHELLCHECK_WARNING (CWE-457): [#def1053]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:41:18: warning[SC2154]: vg6 is referenced but not assigned.
#   39|   vgchange --addtag tagvg5 $vg5
#   40|   lvcreate -l 4 -n $lv1 $vg5
#   41|-> vgcreate $SHARED $vg6 "$dev6"
#   42|   lvcreate -l 4 -n $lv2 $vg6
#   43|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1054]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:41:24: warning[SC2154]: dev6 is referenced but not assigned.
#   39|   vgchange --addtag tagvg5 $vg5
#   40|   lvcreate -l 4 -n $lv1 $vg5
#   41|-> vgcreate $SHARED $vg6 "$dev6"
#   42|   lvcreate -l 4 -n $lv2 $vg6
#   43|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1055]
/usr/share/lvm2-testsuite/shell/process-each-vg.sh:42:18: warning[SC2154]: lv2 is referenced but not assigned.
#   40|   lvcreate -l 4 -n $lv1 $vg5
#   41|   vgcreate $SHARED $vg6 "$dev6"
#   42|-> lvcreate -l 4 -n $lv2 $vg6
#   43|   
#   44|   # should fail without any arg

Error: SHELLCHECK_WARNING (CWE-563): [#def1056]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_pv with vgreduce'
#   14|   
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1057]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1058]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:34:18: warning[SC2154]: vg1 is referenced but not assigned.
#   32|   #
#   33|   
#   34|-> vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1059]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:34:24: warning[SC2154]: dev10 is referenced but not assigned.
#   32|   #
#   33|   
#   34|-> vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"

Error: SHELLCHECK_WARNING (CWE-457): [#def1060]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:35:18: warning[SC2154]: vg2 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1061]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:35:24: warning[SC2154]: dev2 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1062]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:35:32: warning[SC2154]: dev3 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1063]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:35:40: warning[SC2154]: dev4 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1064]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:35:48: warning[SC2154]: dev5 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|-> vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|   vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1065]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:36:18: warning[SC2154]: vg3 is referenced but not assigned.
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   
#   38|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1066]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:36:24: warning[SC2154]: dev6 is referenced but not assigned.
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   
#   38|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1067]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:36:32: warning[SC2154]: dev7 is referenced but not assigned.
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   
#   38|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1068]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:36:40: warning[SC2154]: dev8 is referenced but not assigned.
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   
#   38|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1069]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:36:48: warning[SC2154]: dev9 is referenced but not assigned.
#   34|   vgcreate $SHARED $vg1 "$dev10"
#   35|   vgcreate $SHARED $vg2 "$dev2" "$dev3" "$dev4" "$dev5"
#   36|-> vgcreate $SHARED $vg3 "$dev6" "$dev7" "$dev8" "$dev9"
#   37|   
#   38|   pvchange --addtag V2D3 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1070]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:48:11: warning[SC2154]: dev11 is referenced but not assigned.
#   46|   
#   47|   # orphan
#   48|-> pvcreate "$dev11"
#   49|   
#   50|   # dev (a non-pv device)

Error: SHELLCHECK_WARNING (CWE-457): [#def1071]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:51:11: warning[SC2154]: dev12 is referenced but not assigned.
#   49|   
#   50|   # dev (a non-pv device)
#   51|-> pvcreate "$dev12"
#   52|   pvremove "$dev12"
#   53|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1072]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:58:11: warning[SC2154]: dev14 is referenced but not assigned.
#   56|   
#   57|   # orphan
#   58|-> pvcreate "$dev14"
#   59|   
#   60|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1073]
/usr/share/lvm2-testsuite/shell/process-each-vgreduce.sh:203:13: warning[SC2154]: lv1 is referenced but not assigned.
#  201|   # lvcreate on one pv to make it used
#  202|   # remove all unused pvs
#  203|-> lvcreate -n $lv1 -l 2 $vg2 "$dev2"
#  204|   not vgreduce -a $vg2
#  205|   check pv_field "$dev2" vg_name $vg2

Error: SHELLCHECK_WARNING (CWE-563): [#def1074]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1075]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:66:13: warning[SC2154]: lv1 is referenced but not assigned.
#   64|   # Check writecache read data from profile
#   65|   if aux have_writecache 1 0 0 ; then
#   66|-> lvcreate -n $lv1 -l 4 -an $vg "$dev1"
#   67|   lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
#   68|   check lv_field $vg/$lv2 cachesettings "high_watermark=60"

Error: SHELLCHECK_WARNING (CWE-457): [#def1076]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:66:27: warning[SC2154]: vg is referenced but not assigned.
#   64|   # Check writecache read data from profile
#   65|   if aux have_writecache 1 0 0 ; then
#   66|-> lvcreate -n $lv1 -l 4 -an $vg "$dev1"
#   67|   lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
#   68|   check lv_field $vg/$lv2 cachesettings "high_watermark=60"

Error: SHELLCHECK_WARNING (CWE-457): [#def1077]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:66:32: warning[SC2154]: dev1 is referenced but not assigned.
#   64|   # Check writecache read data from profile
#   65|   if aux have_writecache 1 0 0 ; then
#   66|-> lvcreate -n $lv1 -l 4 -an $vg "$dev1"
#   67|   lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
#   68|   check lv_field $vg/$lv2 cachesettings "high_watermark=60"

Error: SHELLCHECK_WARNING (CWE-457): [#def1078]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:67:55: warning[SC2154]: lv2 is referenced but not assigned.
#   65|   if aux have_writecache 1 0 0 ; then
#   66|   lvcreate -n $lv1 -l 4 -an $vg "$dev1"
#   67|-> lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
#   68|   check lv_field $vg/$lv2 cachesettings "high_watermark=60"
#   69|   lvremove -y $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1079]
/usr/share/lvm2-testsuite/shell/profiles-cache.sh:67:90: warning[SC2154]: dev2 is referenced but not assigned.
#   65|   if aux have_writecache 1 0 0 ; then
#   66|   lvcreate -n $lv1 -l 4 -an $vg "$dev1"
#   67|-> lvcreate -y --type writecache -l 4 --cachevol $lv1 -n $lv2 --metadataprofile $PFILE $vg "$dev2"
#   68|   check lv_field $vg/$lv2 cachesettings "high_watermark=60"
#   69|   lvremove -y $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1080]
/usr/share/lvm2-testsuite/shell/profiles-thin.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1081]
/usr/share/lvm2-testsuite/shell/profiles-thin.sh:39:14: warning[SC2154]: dev1 is referenced but not assigned.
#   37|   # If so, turn chunk_size test into  'should'
#   38|   SHOULD=""
#   39|-> check sysfs "$dev1" queue/optimal_io_size "$EXPECT" || SHOULD=should
#   40|   
#   41|   vgcreate $SHARED $vg "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1082]
/usr/share/lvm2-testsuite/shell/profiles-thin.sh:41:18: warning[SC2154]: vg is referenced but not assigned.
#   39|   check sysfs "$dev1" queue/optimal_io_size "$EXPECT" || SHOULD=should
#   40|   
#   41|-> vgcreate $SHARED $vg "$dev1"
#   42|   
#   43|   # By default, "generic" policy is used to

Error: SHELLCHECK_WARNING (CWE-563): [#def1083]
/usr/share/lvm2-testsuite/shell/profiles-vdo.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1084]
/usr/share/lvm2-testsuite/shell/profiles-vdo.sh:39:65: warning[SC2154]: vg is referenced but not assigned.
#   37|   
#   38|   # Check chunk_size is grabbed from configuration
#   39|-> lvcreate --vdo -L5G --config 'allocation/vdo_use_compression=0' $vg/vdopool
#   40|   lvdisplay -m $vg/vdopool | tee out
#   41|   grep "Compression.*no" out

Error: SHELLCHECK_WARNING (CWE-563): [#def1085]
/usr/share/lvm2-testsuite/shell/profiles.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1086]
/usr/share/lvm2-testsuite/shell/profiles.sh:23:1: warning[SC2034]: MSG_FAILED_TO_APPLY_MDA_PROFILE appears unused. Verify use (or export if used externally).
#   21|   MSG_FAILED_TO_APPLY_CMD_PROFILE="Failed to apply command profile"
#   22|   MSG_IGNORING_INVALID_CMD_PROFILE="Ignoring invalid command profile"
#   23|-> MSG_FAILED_TO_APPLY_MDA_PROFILE="Failed to apply metadata profile"
#   24|   MSG_IGNORING_INVALID_MDA_PROFILE="Ignoring invalid metadata profile"
#   25|   MSG_NOT_PROFILABLE="not customizable by a profile"

Error: SHELLCHECK_WARNING (CWE-563): [#def1087]
/usr/share/lvm2-testsuite/shell/profiles.sh:26:1: warning[SC2034]: MSG_CMD_PROFILABLE_ONLY appears unused. Verify use (or export if used externally).
#   24|   MSG_IGNORING_INVALID_MDA_PROFILE="Ignoring invalid metadata profile"
#   25|   MSG_NOT_PROFILABLE="not customizable by a profile"
#   26|-> MSG_CMD_PROFILABLE_ONLY="customizable by command profile only, not metadata profile"
#   27|   MSG_MDA_PROFILABLE_ONLY="customizable by metadata profile only, not command profile"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1088]
/usr/share/lvm2-testsuite/shell/profiles.sh:102:11: warning[SC2154]: dev1 is referenced but not assigned.
#  100|   # attaching/detaching profiles to VG/LV
#  101|   aux prepare_pvs 1 8
#  102|-> pvcreate "$dev1"
#  103|   vgcreate $SHARED $vg1 "$dev1"
#  104|   check vg_field $vg1 vg_profile ""

Error: SHELLCHECK_WARNING (CWE-457): [#def1089]
/usr/share/lvm2-testsuite/shell/profiles.sh:103:18: warning[SC2154]: vg1 is referenced but not assigned.
#  101|   aux prepare_pvs 1 8
#  102|   pvcreate "$dev1"
#  103|-> vgcreate $SHARED $vg1 "$dev1"
#  104|   check vg_field $vg1 vg_profile ""
#  105|   lvcreate -l 1 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1090]
/usr/share/lvm2-testsuite/shell/profiles.sh:105:18: warning[SC2154]: lv1 is referenced but not assigned.
#  103|   vgcreate $SHARED $vg1 "$dev1"
#  104|   check vg_field $vg1 vg_profile ""
#  105|-> lvcreate -l 1 -n $lv1 $vg1
#  106|   check lv_field $vg1/$lv1 lv_profile ""
#  107|   vgchange --profile valid_mda_profile $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1091]
/usr/share/lvm2-testsuite/shell/pv-check-dev-size.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1092]
/usr/share/lvm2-testsuite/shell/pv-check-dev-size.sh:24:19: warning[SC2154]: vg is referenced but not assigned.
#   22|   CHECK_MSG="smaller than corresponding PV size"
#   23|   
#   24|-> vgcreate $SHARED "$vg" "$dev1" 2>err
#   25|   not grep "$CHECK_MSG" err
#   26|   pvs 2>err

Error: SHELLCHECK_WARNING (CWE-457): [#def1093]
/usr/share/lvm2-testsuite/shell/pv-check-dev-size.sh:24:25: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   CHECK_MSG="smaller than corresponding PV size"
#   23|   
#   24|-> vgcreate $SHARED "$vg" "$dev1" 2>err
#   25|   not grep "$CHECK_MSG" err
#   26|   pvs 2>err

Error: SHELLCHECK_WARNING (CWE-563): [#def1094]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # tests, write failure on PV1 is not reporting errors on PV2 or PV3...
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1095]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1096]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:29:42: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   aux prepare_devs 3 20
#   28|   
#   29|-> pvcreate -y --setphysicalvolumesize 10m "$dev1"
#   30|   pvcreate "$dev2"
#   31|   pvcreate "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1097]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:30:11: warning[SC2154]: dev2 is referenced but not assigned.
#   28|   
#   29|   pvcreate -y --setphysicalvolumesize 10m "$dev1"
#   30|-> pvcreate "$dev2"
#   31|   pvcreate "$dev3"
#   32|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1098]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:31:11: warning[SC2154]: dev3 is referenced but not assigned.
#   29|   pvcreate -y --setphysicalvolumesize 10m "$dev1"
#   30|   pvcreate "$dev2"
#   31|-> pvcreate "$dev3"
#   32|   
#   33|   vgcreate $vg "$dev1" "$dev2" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1099]
/usr/share/lvm2-testsuite/shell/pv-corruption.sh:33:10: warning[SC2154]: vg is referenced but not assigned.
#   31|   pvcreate "$dev3"
#   32|   
#   33|-> vgcreate $vg "$dev1" "$dev2" "$dev3"
#   34|   
#   35|   pvs -o +uuid

Error: SHELLCHECK_WARNING (CWE-563): [#def1100]
/usr/share/lvm2-testsuite/shell/pv-duplicate-uuid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test 'Found duplicate' is shown
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1101]
/usr/share/lvm2-testsuite/shell/pv-duplicate-uuid.sh:21:11: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   aux prepare_devs 3
#   20|   
#   21|-> pvcreate "$dev1"
#   22|   UUID1=$(get pv_field "$dev1" uuid)
#   23|   pvcreate --devices "$dev2" -u "$UUID1" --norestorefile "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1102]
/usr/share/lvm2-testsuite/shell/pv-duplicate-uuid.sh:23:21: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   pvcreate "$dev1"
#   22|   UUID1=$(get pv_field "$dev1" uuid)
#   23|-> pvcreate --devices "$dev2" -u "$UUID1" --norestorefile "$dev2"
#   24|   pvcreate --devices "$dev3" -u "$UUID1" --norestorefile "$dev3"
#   25|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1103]
/usr/share/lvm2-testsuite/shell/pv-duplicate-uuid.sh:24:21: warning[SC2154]: dev3 is referenced but not assigned.
#   22|   UUID1=$(get pv_field "$dev1" uuid)
#   23|   pvcreate --devices "$dev2" -u "$UUID1" --norestorefile "$dev2"
#   24|-> pvcreate --devices "$dev3" -u "$UUID1" --norestorefile "$dev3"
#   25|   
#   26|   pvscan --cache 2>&1 | tee out

Error: SHELLCHECK_WARNING (CWE-563): [#def1104]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1105]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1106]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:27:37: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   ######################################
#   26|   
#   27|-> pvcreate -ff -y --metadatacopies 0 "$dev1"
#   28|   pvcreate -ff -y --metadatacopies 1 "$dev2"
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1107]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:28:37: warning[SC2154]: dev2 is referenced but not assigned.
#   26|   
#   27|   pvcreate -ff -y --metadatacopies 0 "$dev1"
#   28|-> pvcreate -ff -y --metadatacopies 1 "$dev2"
#   29|   
#   30|   # $dev1 and $dev2 not in any VG - pv_in_use field should be blank

Error: SHELLCHECK_WARNING (CWE-457): [#def1108]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:35:10: warning[SC2154]: vg1 is referenced but not assigned.
#   33|   
#   34|   # $dev1 and $dev now in a VG - pv_in_use should display "used"
#   35|-> vgcreate $vg1 "$dev1" "$dev2"
#   36|   check pv_field "$dev1" pv_in_use "used"
#   37|   check pv_field "$dev2" pv_in_use "used"

Error: SHELLCHECK_WARNING (CWE-457): [#def1109]
/usr/share/lvm2-testsuite/shell/pv-ext-flags.sh:49:14: warning[SC2154]: vg2 is referenced but not assigned.
#   47|   not pvchange -u "$dev1" 2>err
#   48|   grep "$MARKED_AS_USED_MSG" err
#   49|-> not vgcreate $vg2 "$dev1" 2>err
#   50|   grep "$MARKED_AS_USED_MSG" err
#   51|   not pvremove "$dev1" 2>err

Error: SHELLCHECK_WARNING (CWE-563): [#def1110]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   

Error: SHELLCHECK_WARNING (CWE-149): [#def1111]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:32:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   30|     # PV header with PV extension version 1
#   31|     env printf \
#   32|-> "\x4c\x41\x42\x45\x4c\x4f\x4e\x45\x01\x00\x00\x00\x00\x00\x00\x00"\
#   33|   "\x78\x1c\x12\x43\x20\x00\x00\x00\x4c\x56\x4d\x32\x20\x30\x30\x31"\
#   34|   "\x64\x35\x56\x33\x38\x5a\x57\x49\x63\x7a\x64\x63\x34\x38\x37\x67"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1112]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:33:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   31|     env printf \
#   32|   "\x4c\x41\x42\x45\x4c\x4f\x4e\x45\x01\x00\x00\x00\x00\x00\x00\x00"\
#   33|-> "\x78\x1c\x12\x43\x20\x00\x00\x00\x4c\x56\x4d\x32\x20\x30\x30\x31"\
#   34|   "\x64\x35\x56\x33\x38\x5a\x57\x49\x63\x7a\x64\x63\x34\x38\x37\x67"\
#   35|   "\x4d\x79\x46\x4b\x6c\x6d\x68\x39\x4e\x73\x34\x6f\x78\x61\x6b\x51"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1113]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:34:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   32|   "\x4c\x41\x42\x45\x4c\x4f\x4e\x45\x01\x00\x00\x00\x00\x00\x00\x00"\
#   33|   "\x78\x1c\x12\x43\x20\x00\x00\x00\x4c\x56\x4d\x32\x20\x30\x30\x31"\
#   34|-> "\x64\x35\x56\x33\x38\x5a\x57\x49\x63\x7a\x64\x63\x34\x38\x37\x67"\
#   35|   "\x4d\x79\x46\x4b\x6c\x6d\x68\x39\x4e\x73\x34\x6f\x78\x61\x6b\x51"\
#   36|   "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1114]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:35:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   33|   "\x78\x1c\x12\x43\x20\x00\x00\x00\x4c\x56\x4d\x32\x20\x30\x30\x31"\
#   34|   "\x64\x35\x56\x33\x38\x5a\x57\x49\x63\x7a\x64\x63\x34\x38\x37\x67"\
#   35|-> "\x4d\x79\x46\x4b\x6c\x6d\x68\x39\x4e\x73\x34\x6f\x78\x61\x6b\x51"\
#   36|   "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00"\
#   37|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1115]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:36:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   34|   "\x64\x35\x56\x33\x38\x5a\x57\x49\x63\x7a\x64\x63\x34\x38\x37\x67"\
#   35|   "\x4d\x79\x46\x4b\x6c\x6d\x68\x39\x4e\x73\x34\x6f\x78\x61\x6b\x51"\
#   36|-> "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00"\
#   37|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   38|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1116]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:37:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   35|   "\x4d\x79\x46\x4b\x6c\x6d\x68\x39\x4e\x73\x34\x6f\x78\x61\x6b\x51"\
#   36|   "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00"\
#   37|-> "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   38|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   39|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1117]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:38:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   36|   "\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00"\
#   37|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   38|-> "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   39|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   40|   "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1118]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:39:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   37|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   38|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   39|-> "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   40|   "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00"\
#   41|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=512 seek=1 conv=notrunc

Error: SHELLCHECK_WARNING (CWE-149): [#def1119]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:40:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   38|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   39|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   40|-> "\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00"\
#   41|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=512 seek=1 conv=notrunc
#   42|   

Error: SHELLCHECK_WARNING (CWE-149): [#def1120]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:45:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   43|     # MDA header
#   44|     env printf \
#   45|-> "\xd8\x36\x2c\xf6\x20\x4c\x56\x4d\x32\x20\x78\x5b\x35\x41\x25\x72"\
#   46|   "\x30\x4e\x2a\x3e\x01\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   47|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1121]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:46:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   44|     env printf \
#   45|   "\xd8\x36\x2c\xf6\x20\x4c\x56\x4d\x32\x20\x78\x5b\x35\x41\x25\x72"\
#   46|-> "\x30\x4e\x2a\x3e\x01\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   47|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"\
#   48|   "\x06\x04\x00\x00\x00\x00\x00\x00\x07\x3d\x06\x28\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1122]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:47:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   45|   "\xd8\x36\x2c\xf6\x20\x4c\x56\x4d\x32\x20\x78\x5b\x35\x41\x25\x72"\
#   46|   "\x30\x4e\x2a\x3e\x01\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   47|-> "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"\
#   48|   "\x06\x04\x00\x00\x00\x00\x00\x00\x07\x3d\x06\x28\x00\x00\x00\x00"\
#   49|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=4096 seek=1 conv=notrunc

Error: SHELLCHECK_WARNING (CWE-149): [#def1123]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:48:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   46|   "\x30\x4e\x2a\x3e\x01\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00"\
#   47|   "\x00\xf0\x0f\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00"\
#   48|-> "\x06\x04\x00\x00\x00\x00\x00\x00\x07\x3d\x06\x28\x00\x00\x00\x00"\
#   49|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=4096 seek=1 conv=notrunc
#   50|   

Error: SHELLCHECK_WARNING (CWE-149): [#def1124]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:53:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   51|     # VG metadata
#   52|     env printf \
#   53|-> "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#   54|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#   55|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1125]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:54:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   52|     env printf \
#   53|   "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#   54|-> "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#   55|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#   56|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1126]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:55:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   53|   "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#   54|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#   55|-> "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#   56|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#   57|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1127]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:56:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   54|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#   55|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#   56|-> "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#   57|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#   58|   "\x3d\x20\x31\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1128]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:57:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   55|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#   56|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#   57|-> "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#   58|   "\x3d\x20\x31\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#   59|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1129]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:58:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   56|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#   57|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#   58|-> "\x3d\x20\x31\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#   59|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#   60|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1130]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:59:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   57|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#   58|   "\x3d\x20\x31\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#   59|-> "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#   60|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#   61|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1131]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:60:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   58|   "\x3d\x20\x31\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#   59|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#   60|-> "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#   61|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#   62|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1132]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:61:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   59|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#   60|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#   61|-> "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#   62|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#   63|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1133]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:62:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   60|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#   61|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#   62|-> "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#   63|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#   64|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1134]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:63:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   61|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#   62|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#   63|-> "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#   64|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#   65|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1135]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:64:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   62|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#   63|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#   64|-> "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#   65|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#   66|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1136]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:65:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   63|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#   64|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#   65|-> "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#   66|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#   67|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1137]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:66:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   64|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#   65|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#   66|-> "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#   67|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#   68|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1138]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:67:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   65|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#   66|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#   67|-> "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#   68|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#   69|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1139]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:68:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   66|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#   67|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#   68|-> "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#   69|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#   70|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1140]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:69:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   67|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#   68|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#   69|-> "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#   70|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#   71|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1141]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:70:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   68|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#   69|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#   70|-> "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#   71|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#   72|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1142]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:71:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   69|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#   70|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#   71|-> "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#   72|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#   73|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1143]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:72:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   70|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#   71|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#   72|-> "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#   73|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#   74|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1144]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:73:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   71|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#   72|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#   73|-> "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#   74|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#   75|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1145]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:74:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   72|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#   73|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#   74|-> "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#   75|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#   76|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1146]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:75:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   73|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#   74|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#   75|-> "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#   76|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#   77|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x7d\x0a\x23\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1147]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:76:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   74|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#   75|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#   76|-> "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#   77|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x7d\x0a\x23\x20"\
#   78|   "\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x4c\x56\x4d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1148]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:77:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   75|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#   76|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#   77|-> "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x7d\x0a\x23\x20"\
#   78|   "\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x4c\x56\x4d"\
#   79|   "\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e\x30\x32\x2e\x31"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1149]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:78:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   76|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#   77|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x7d\x0a\x23\x20"\
#   78|-> "\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x4c\x56\x4d"\
#   79|   "\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e\x30\x32\x2e\x31"\
#   80|   "\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32\x30\x31\x36\x2d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1150]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:79:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   77|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x7d\x0a\x23\x20"\
#   78|   "\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x4c\x56\x4d"\
#   79|-> "\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e\x30\x32\x2e\x31"\
#   80|   "\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32\x30\x31\x36\x2d"\
#   81|   "\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20\x4a\x75\x6c\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1151]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:80:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   78|   "\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79\x20\x4c\x56\x4d"\
#   79|   "\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e\x30\x32\x2e\x31"\
#   80|-> "\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32\x30\x31\x36\x2d"\
#   81|   "\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20\x4a\x75\x6c\x20"\
#   82|   "\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1152]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:81:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   79|   "\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e\x30\x32\x2e\x31"\
#   80|   "\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32\x30\x31\x36\x2d"\
#   81|-> "\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20\x4a\x75\x6c\x20"\
#   82|   "\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36"\
#   83|   "\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d\x20\x22\x54\x65"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1153]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:82:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   80|   "\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32\x30\x31\x36\x2d"\
#   81|   "\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20\x4a\x75\x6c\x20"\
#   82|-> "\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36"\
#   83|   "\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d\x20\x22\x54\x65"\
#   84|   "\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f\x6c\x75\x6d\x65"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1154]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:83:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   81|   "\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20\x4a\x75\x6c\x20"\
#   82|   "\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36"\
#   83|-> "\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d\x20\x22\x54\x65"\
#   84|   "\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f\x6c\x75\x6d\x65"\
#   85|   "\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73\x69\x6f\x6e\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1155]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:84:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   82|   "\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36"\
#   83|   "\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d\x20\x22\x54\x65"\
#   84|-> "\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f\x6c\x75\x6d\x65"\
#   85|   "\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73\x69\x6f\x6e\x20"\
#   86|   "\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1156]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:85:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   83|   "\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d\x20\x22\x54\x65"\
#   84|   "\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f\x6c\x75\x6d\x65"\
#   85|-> "\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73\x69\x6f\x6e\x20"\
#   86|   "\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e"\
#   87|   "\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1157]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:86:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   84|   "\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f\x6c\x75\x6d\x65"\
#   85|   "\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73\x69\x6f\x6e\x20"\
#   86|-> "\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e"\
#   87|   "\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f"\
#   88|   "\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1158]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:87:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   85|   "\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73\x69\x6f\x6e\x20"\
#   86|   "\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e"\
#   87|-> "\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f"\
#   88|   "\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76"\
#   89|   "\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78\x20\x66\x65\x64"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1159]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:88:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   86|   "\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e"\
#   87|   "\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f"\
#   88|-> "\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76"\
#   89|   "\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78\x20\x66\x65\x64"\
#   90|   "\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36\x2e\x34\x2d\x33"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1160]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:89:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   87|   "\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f"\
#   88|   "\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76"\
#   89|-> "\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78\x20\x66\x65\x64"\
#   90|   "\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36\x2e\x34\x2d\x33"\
#   91|   "\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f\x36\x34\x20\x23"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1161]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:90:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   88|   "\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76"\
#   89|   "\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78\x20\x66\x65\x64"\
#   90|-> "\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36\x2e\x34\x2d\x33"\
#   91|   "\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f\x36\x34\x20\x23"\
#   92|   "\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75\x6c\x20\x31\x32"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1162]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:91:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   89|   "\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78\x20\x66\x65\x64"\
#   90|   "\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36\x2e\x34\x2d\x33"\
#   91|-> "\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f\x36\x34\x20\x23"\
#   92|   "\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75\x6c\x20\x31\x32"\
#   93|   "\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54\x43\x20\x32\x30"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1163]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:92:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   90|   "\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36\x2e\x34\x2d\x33"\
#   91|   "\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f\x36\x34\x20\x23"\
#   92|-> "\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75\x6c\x20\x31\x32"\
#   93|   "\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54\x43\x20\x32\x30"\
#   94|   "\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72\x65\x61\x74\x69"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1164]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:93:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   91|   "\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f\x36\x34\x20\x23"\
#   92|   "\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75\x6c\x20\x31\x32"\
#   93|-> "\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54\x43\x20\x32\x30"\
#   94|   "\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72\x65\x61\x74\x69"\
#   95|   "\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1165]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:94:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   92|   "\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75\x6c\x20\x31\x32"\
#   93|   "\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54\x43\x20\x32\x30"\
#   94|-> "\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72\x65\x61\x74\x69"\
#   95|   "\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31"\
#   96|   "\x31\x35\x30\x37\x09\x23\x20\x57\x65\x64\x20\x4a\x75\x6c\x20\x32"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1166]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:95:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   93|   "\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54\x43\x20\x32\x30"\
#   94|   "\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72\x65\x61\x74\x69"\
#   95|-> "\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31"\
#   96|   "\x31\x35\x30\x37\x09\x23\x20\x57\x65\x64\x20\x4a\x75\x6c\x20\x32"\
#   97|   "\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36\x0a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1167]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:96:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   94|   "\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72\x65\x61\x74\x69"\
#   95|   "\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31"\
#   96|-> "\x31\x35\x30\x37\x09\x23\x20\x57\x65\x64\x20\x4a\x75\x6c\x20\x32"\
#   97|   "\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36\x0a"\
#   98|   "\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1168]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:97:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   95|   "\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31"\
#   96|   "\x31\x35\x30\x37\x09\x23\x20\x57\x65\x64\x20\x4a\x75\x6c\x20\x32"\
#   97|-> "\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36\x0a"\
#   98|   "\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   99|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=4608 seek=1 conv=notrunc

Error: SHELLCHECK_WARNING (CWE-149): [#def1169]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:98:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#   96|   "\x31\x35\x30\x37\x09\x23\x20\x57\x65\x64\x20\x4a\x75\x6c\x20\x32"\
#   97|   "\x37\x20\x31\x31\x3a\x32\x35\x3a\x30\x37\x20\x32\x30\x31\x36\x0a"\
#   98|-> "\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#   99|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=4608 seek=1 conv=notrunc
#  100|   

Error: SHELLCHECK_WARNING (CWE-149): [#def1170]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:102:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  100|   
#  101|     env printf \
#  102|-> "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#  103|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#  104|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1171]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:103:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  101|     env printf \
#  102|   "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#  103|-> "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#  104|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#  105|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1172]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:104:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  102|   "\x4c\x56\x4d\x54\x45\x53\x54\x31\x32\x33\x34\x35\x70\x76\x65\x78"\
#  103|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#  104|-> "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#  105|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#  106|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1173]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:105:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  103|   "\x74\x75\x70\x64\x61\x74\x65\x76\x67\x20\x7b\x0a\x69\x64\x20\x3d"\
#  104|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#  105|-> "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#  106|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#  107|   "\x3d\x20\x32\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1174]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:106:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  104|   "\x20\x22\x42\x72\x47\x6f\x34\x33\x2d\x36\x35\x62\x48\x2d\x41\x55"\
#  105|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#  106|-> "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#  107|   "\x3d\x20\x32\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#  108|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1175]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:107:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  105|   "\x6d\x43\x2d\x77\x56\x74\x71\x2d\x51\x53\x63\x66\x2d\x6b\x5a\x51"\
#  106|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#  107|-> "\x3d\x20\x32\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#  108|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#  109|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1176]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:108:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  106|   "\x45\x2d\x58\x51\x6e\x79\x31\x44\x22\x0a\x73\x65\x71\x6e\x6f\x20"\
#  107|   "\x3d\x20\x32\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#  108|-> "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#  109|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#  110|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1177]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:109:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  107|   "\x3d\x20\x32\x0a\x66\x6f\x72\x6d\x61\x74\x20\x3d\x20\x22\x6c\x76"\
#  108|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#  109|-> "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#  110|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#  111|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1178]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:110:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  108|   "\x6d\x32\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22\x52"\
#  109|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#  110|-> "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#  111|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#  112|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1179]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:111:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  109|   "\x45\x53\x49\x5a\x45\x41\x42\x4c\x45\x22\x2c\x20\x22\x52\x45\x41"\
#  110|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#  111|-> "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#  112|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#  113|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1180]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:112:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  110|   "\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x5d\x0a\x66\x6c\x61"\
#  111|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#  112|-> "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#  113|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#  114|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1181]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:113:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  111|   "\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x65\x78\x74\x65\x6e\x74\x5f\x73"\
#  112|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#  113|-> "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#  114|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#  115|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1182]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:114:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  112|   "\x69\x7a\x65\x20\x3d\x20\x38\x31\x39\x32\x0a\x6d\x61\x78\x5f\x6c"\
#  113|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#  114|-> "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#  115|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#  116|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1183]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:115:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  113|   "\x76\x20\x3d\x20\x30\x0a\x6d\x61\x78\x5f\x70\x76\x20\x3d\x20\x30"\
#  114|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#  115|-> "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#  116|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#  117|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1184]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:116:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  114|   "\x0a\x6d\x65\x74\x61\x64\x61\x74\x61\x5f\x63\x6f\x70\x69\x65\x73"\
#  115|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#  116|-> "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#  117|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#  118|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1185]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:117:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  115|   "\x20\x3d\x20\x30\x0a\x0a\x70\x68\x79\x73\x69\x63\x61\x6c\x5f\x76"\
#  116|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#  117|-> "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#  118|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#  119|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1186]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:118:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  116|   "\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x70\x76\x30\x20\x7b\x0a"\
#  117|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#  118|-> "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#  119|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#  120|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1187]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:119:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  117|   "\x69\x64\x20\x3d\x20\x22\x64\x35\x56\x33\x38\x5a\x2d\x57\x49\x63"\
#  118|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#  119|-> "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#  120|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#  121|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1188]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:120:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  118|   "\x7a\x2d\x64\x63\x34\x38\x2d\x37\x67\x4d\x79\x2d\x46\x4b\x6c\x6d"\
#  119|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#  120|-> "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#  121|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  122|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1189]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:121:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  119|   "\x2d\x68\x39\x4e\x73\x2d\x34\x6f\x78\x61\x6b\x51\x22\x0a\x64\x65"\
#  120|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#  121|-> "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  122|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#  123|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1190]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:122:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  120|   "\x76\x69\x63\x65\x20\x3d\x20\x22\x2f\x64\x65\x76\x2f\x6c\x6f\x6f"\
#  121|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  122|-> "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#  123|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#  124|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1191]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:123:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  121|   "\x70\x30\x22\x0a\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  122|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#  123|-> "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#  124|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#  125|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1192]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:124:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  122|   "\x41\x4c\x4c\x4f\x43\x41\x54\x41\x42\x4c\x45\x22\x5d\x0a\x66\x6c"\
#  123|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#  124|-> "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#  125|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#  126|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x6c\x6f\x67\x69"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1193]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:125:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  123|   "\x61\x67\x73\x20\x3d\x20\x5b\x5d\x0a\x64\x65\x76\x5f\x73\x69\x7a"\
#  124|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#  125|-> "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#  126|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x6c\x6f\x67\x69"\
#  127|   "\x63\x61\x6c\x5f\x76\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x6c"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1194]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:126:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  124|   "\x65\x20\x3d\x20\x31\x36\x33\x38\x34\x0a\x70\x65\x5f\x73\x74\x61"\
#  125|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#  126|-> "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x6c\x6f\x67\x69"\
#  127|   "\x63\x61\x6c\x5f\x76\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x6c"\
#  128|   "\x76\x6f\x6c\x30\x20\x7b\x0a\x69\x64\x20\x3d\x20\x22\x46\x73\x36"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1195]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:127:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  125|   "\x72\x74\x20\x3d\x20\x32\x30\x34\x38\x0a\x70\x65\x5f\x63\x6f\x75"\
#  126|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x6c\x6f\x67\x69"\
#  127|-> "\x63\x61\x6c\x5f\x76\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x6c"\
#  128|   "\x76\x6f\x6c\x30\x20\x7b\x0a\x69\x64\x20\x3d\x20\x22\x46\x73\x36"\
#  129|   "\x6c\x6a\x6b\x2d\x4a\x65\x5a\x35\x2d\x55\x4e\x75\x37\x2d\x32\x41"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1196]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:128:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  126|   "\x6e\x74\x20\x3d\x20\x31\x0a\x7d\x0a\x7d\x0a\x0a\x6c\x6f\x67\x69"\
#  127|   "\x63\x61\x6c\x5f\x76\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x6c"\
#  128|-> "\x76\x6f\x6c\x30\x20\x7b\x0a\x69\x64\x20\x3d\x20\x22\x46\x73\x36"\
#  129|   "\x6c\x6a\x6b\x2d\x4a\x65\x5a\x35\x2d\x55\x4e\x75\x37\x2d\x32\x41"\
#  130|   "\x33\x50\x2d\x76\x30\x41\x43\x2d\x64\x63\x64\x36\x2d\x32\x33\x38"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1197]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:129:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  127|   "\x63\x61\x6c\x5f\x76\x6f\x6c\x75\x6d\x65\x73\x20\x7b\x0a\x0a\x6c"\
#  128|   "\x76\x6f\x6c\x30\x20\x7b\x0a\x69\x64\x20\x3d\x20\x22\x46\x73\x36"\
#  129|-> "\x6c\x6a\x6b\x2d\x4a\x65\x5a\x35\x2d\x55\x4e\x75\x37\x2d\x32\x41"\
#  130|   "\x33\x50\x2d\x76\x30\x41\x43\x2d\x64\x63\x64\x36\x2d\x32\x33\x38"\
#  131|   "\x39\x4d\x76\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1198]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:130:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  128|   "\x76\x6f\x6c\x30\x20\x7b\x0a\x69\x64\x20\x3d\x20\x22\x46\x73\x36"\
#  129|   "\x6c\x6a\x6b\x2d\x4a\x65\x5a\x35\x2d\x55\x4e\x75\x37\x2d\x32\x41"\
#  130|-> "\x33\x50\x2d\x76\x30\x41\x43\x2d\x64\x63\x64\x36\x2d\x32\x33\x38"\
#  131|   "\x39\x4d\x76\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  132|   "\x52\x45\x41\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x2c\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1199]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:131:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  129|   "\x6c\x6a\x6b\x2d\x4a\x65\x5a\x35\x2d\x55\x4e\x75\x37\x2d\x32\x41"\
#  130|   "\x33\x50\x2d\x76\x30\x41\x43\x2d\x64\x63\x64\x36\x2d\x32\x33\x38"\
#  131|-> "\x39\x4d\x76\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  132|   "\x52\x45\x41\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x2c\x20"\
#  133|   "\x22\x56\x49\x53\x49\x42\x4c\x45\x22\x5d\x0a\x66\x6c\x61\x67\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1200]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:132:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  130|   "\x33\x50\x2d\x76\x30\x41\x43\x2d\x64\x63\x64\x36\x2d\x32\x33\x38"\
#  131|   "\x39\x4d\x76\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  132|-> "\x52\x45\x41\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x2c\x20"\
#  133|   "\x22\x56\x49\x53\x49\x42\x4c\x45\x22\x5d\x0a\x66\x6c\x61\x67\x73"\
#  134|   "\x20\x3d\x20\x5b\x5d\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x68"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1201]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:133:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  131|   "\x39\x4d\x76\x22\x0a\x73\x74\x61\x74\x75\x73\x20\x3d\x20\x5b\x22"\
#  132|   "\x52\x45\x41\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x2c\x20"\
#  133|-> "\x22\x56\x49\x53\x49\x42\x4c\x45\x22\x5d\x0a\x66\x6c\x61\x67\x73"\
#  134|   "\x20\x3d\x20\x5b\x5d\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x68"\
#  135|   "\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76\x69"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1202]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:134:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  132|   "\x52\x45\x41\x44\x22\x2c\x20\x22\x57\x52\x49\x54\x45\x22\x2c\x20"\
#  133|   "\x22\x56\x49\x53\x49\x42\x4c\x45\x22\x5d\x0a\x66\x6c\x61\x67\x73"\
#  134|-> "\x20\x3d\x20\x5b\x5d\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x68"\
#  135|   "\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76\x69"\
#  136|   "\x72\x74\x22\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1203]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:135:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  133|   "\x22\x56\x49\x53\x49\x42\x4c\x45\x22\x5d\x0a\x66\x6c\x61\x67\x73"\
#  134|   "\x20\x3d\x20\x5b\x5d\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x68"\
#  135|-> "\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76\x69"\
#  136|   "\x72\x74\x22\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d"\
#  137|   "\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31\x31\x35\x31\x30\x0a\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1204]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:136:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  134|   "\x20\x3d\x20\x5b\x5d\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x68"\
#  135|   "\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76\x69"\
#  136|-> "\x72\x74\x22\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d"\
#  137|   "\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31\x31\x35\x31\x30\x0a\x73"\
#  138|   "\x65\x67\x6d\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1205]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:137:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  135|   "\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f\x72\x61\x2e\x76\x69"\
#  136|   "\x72\x74\x22\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d"\
#  137|-> "\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31\x31\x35\x31\x30\x0a\x73"\
#  138|   "\x65\x67\x6d\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31"\
#  139|   "\x0a\x0a\x73\x65\x67\x6d\x65\x6e\x74\x31\x20\x7b\x0a\x73\x74\x61"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1206]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:138:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  136|   "\x72\x74\x22\x0a\x63\x72\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d"\
#  137|   "\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31\x31\x35\x31\x30\x0a\x73"\
#  138|-> "\x65\x67\x6d\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31"\
#  139|   "\x0a\x0a\x73\x65\x67\x6d\x65\x6e\x74\x31\x20\x7b\x0a\x73\x74\x61"\
#  140|   "\x72\x74\x5f\x65\x78\x74\x65\x6e\x74\x20\x3d\x20\x30\x0a\x65\x78"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1207]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:139:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  137|   "\x65\x20\x3d\x20\x31\x34\x36\x39\x36\x31\x31\x35\x31\x30\x0a\x73"\
#  138|   "\x65\x67\x6d\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31"\
#  139|-> "\x0a\x0a\x73\x65\x67\x6d\x65\x6e\x74\x31\x20\x7b\x0a\x73\x74\x61"\
#  140|   "\x72\x74\x5f\x65\x78\x74\x65\x6e\x74\x20\x3d\x20\x30\x0a\x65\x78"\
#  141|   "\x74\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31\x0a\x0a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1208]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:140:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  138|   "\x65\x67\x6d\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31"\
#  139|   "\x0a\x0a\x73\x65\x67\x6d\x65\x6e\x74\x31\x20\x7b\x0a\x73\x74\x61"\
#  140|-> "\x72\x74\x5f\x65\x78\x74\x65\x6e\x74\x20\x3d\x20\x30\x0a\x65\x78"\
#  141|   "\x74\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31\x0a\x0a"\
#  142|   "\x74\x79\x70\x65\x20\x3d\x20\x22\x73\x74\x72\x69\x70\x65\x64\x22"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1209]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:141:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  139|   "\x0a\x0a\x73\x65\x67\x6d\x65\x6e\x74\x31\x20\x7b\x0a\x73\x74\x61"\
#  140|   "\x72\x74\x5f\x65\x78\x74\x65\x6e\x74\x20\x3d\x20\x30\x0a\x65\x78"\
#  141|-> "\x74\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31\x0a\x0a"\
#  142|   "\x74\x79\x70\x65\x20\x3d\x20\x22\x73\x74\x72\x69\x70\x65\x64\x22"\
#  143|   "\x0a\x73\x74\x72\x69\x70\x65\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1210]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:142:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  140|   "\x72\x74\x5f\x65\x78\x74\x65\x6e\x74\x20\x3d\x20\x30\x0a\x65\x78"\
#  141|   "\x74\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31\x0a\x0a"\
#  142|-> "\x74\x79\x70\x65\x20\x3d\x20\x22\x73\x74\x72\x69\x70\x65\x64\x22"\
#  143|   "\x0a\x73\x74\x72\x69\x70\x65\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20"\
#  144|   "\x31\x0a\x0a\x73\x74\x72\x69\x70\x65\x73\x20\x3d\x20\x5b\x0a\x22"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1211]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:143:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  141|   "\x74\x65\x6e\x74\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20\x31\x0a\x0a"\
#  142|   "\x74\x79\x70\x65\x20\x3d\x20\x22\x73\x74\x72\x69\x70\x65\x64\x22"\
#  143|-> "\x0a\x73\x74\x72\x69\x70\x65\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20"\
#  144|   "\x31\x0a\x0a\x73\x74\x72\x69\x70\x65\x73\x20\x3d\x20\x5b\x0a\x22"\
#  145|   "\x70\x76\x30\x22\x2c\x20\x30\x0a\x5d\x0a\x7d\x0a\x7d\x0a\x7d\x0a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1212]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:144:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  142|   "\x74\x79\x70\x65\x20\x3d\x20\x22\x73\x74\x72\x69\x70\x65\x64\x22"\
#  143|   "\x0a\x73\x74\x72\x69\x70\x65\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20"\
#  144|-> "\x31\x0a\x0a\x73\x74\x72\x69\x70\x65\x73\x20\x3d\x20\x5b\x0a\x22"\
#  145|   "\x70\x76\x30\x22\x2c\x20\x30\x0a\x5d\x0a\x7d\x0a\x7d\x0a\x7d\x0a"\
#  146|   "\x7d\x0a\x23\x20\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1213]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:145:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  143|   "\x0a\x73\x74\x72\x69\x70\x65\x5f\x63\x6f\x75\x6e\x74\x20\x3d\x20"\
#  144|   "\x31\x0a\x0a\x73\x74\x72\x69\x70\x65\x73\x20\x3d\x20\x5b\x0a\x22"\
#  145|-> "\x70\x76\x30\x22\x2c\x20\x30\x0a\x5d\x0a\x7d\x0a\x7d\x0a\x7d\x0a"\
#  146|   "\x7d\x0a\x23\x20\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79"\
#  147|   "\x20\x4c\x56\x4d\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1214]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:146:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  144|   "\x31\x0a\x0a\x73\x74\x72\x69\x70\x65\x73\x20\x3d\x20\x5b\x0a\x22"\
#  145|   "\x70\x76\x30\x22\x2c\x20\x30\x0a\x5d\x0a\x7d\x0a\x7d\x0a\x7d\x0a"\
#  146|-> "\x7d\x0a\x23\x20\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79"\
#  147|   "\x20\x4c\x56\x4d\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e"\
#  148|   "\x30\x32\x2e\x31\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1215]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:147:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  145|   "\x70\x76\x30\x22\x2c\x20\x30\x0a\x5d\x0a\x7d\x0a\x7d\x0a\x7d\x0a"\
#  146|   "\x7d\x0a\x23\x20\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79"\
#  147|-> "\x20\x4c\x56\x4d\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e"\
#  148|   "\x30\x32\x2e\x31\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32"\
#  149|   "\x30\x31\x36\x2d\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1216]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:148:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  146|   "\x7d\x0a\x23\x20\x47\x65\x6e\x65\x72\x61\x74\x65\x64\x20\x62\x79"\
#  147|   "\x20\x4c\x56\x4d\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e"\
#  148|-> "\x30\x32\x2e\x31\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32"\
#  149|   "\x30\x31\x36\x2d\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20"\
#  150|   "\x4a\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1217]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:149:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  147|   "\x20\x4c\x56\x4d\x32\x20\x76\x65\x72\x73\x69\x6f\x6e\x20\x32\x2e"\
#  148|   "\x30\x32\x2e\x31\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32"\
#  149|-> "\x30\x31\x36\x2d\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20"\
#  150|   "\x4a\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20"\
#  151|   "\x32\x30\x31\x36\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1218]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:150:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  148|   "\x30\x32\x2e\x31\x34\x32\x28\x32\x29\x2d\x67\x69\x74\x20\x28\x32"\
#  149|   "\x30\x31\x36\x2d\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20"\
#  150|-> "\x4a\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20"\
#  151|   "\x32\x30\x31\x36\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d"\
#  152|   "\x20\x22\x54\x65\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1219]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:151:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  149|   "\x30\x31\x36\x2d\x30\x32\x2d\x31\x35\x29\x3a\x20\x57\x65\x64\x20"\
#  150|   "\x4a\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20"\
#  151|-> "\x32\x30\x31\x36\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d"\
#  152|   "\x20\x22\x54\x65\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f"\
#  153|   "\x6c\x75\x6d\x65\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1220]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:152:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  150|   "\x4a\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20"\
#  151|   "\x32\x30\x31\x36\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d"\
#  152|-> "\x20\x22\x54\x65\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f"\
#  153|   "\x6c\x75\x6d\x65\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73"\
#  154|   "\x69\x6f\x6e\x20\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1221]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:153:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  151|   "\x32\x30\x31\x36\x0a\x0a\x63\x6f\x6e\x74\x65\x6e\x74\x73\x20\x3d"\
#  152|   "\x20\x22\x54\x65\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f"\
#  153|-> "\x6c\x75\x6d\x65\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73"\
#  154|   "\x69\x6f\x6e\x20\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70"\
#  155|   "\x74\x69\x6f\x6e\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1222]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:154:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  152|   "\x20\x22\x54\x65\x78\x74\x20\x46\x6f\x72\x6d\x61\x74\x20\x56\x6f"\
#  153|   "\x6c\x75\x6d\x65\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73"\
#  154|-> "\x69\x6f\x6e\x20\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70"\
#  155|   "\x74\x69\x6f\x6e\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74"\
#  156|   "\x69\x6f\x6e\x5f\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1223]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:155:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  153|   "\x6c\x75\x6d\x65\x20\x47\x72\x6f\x75\x70\x22\x0a\x76\x65\x72\x73"\
#  154|   "\x69\x6f\x6e\x20\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70"\
#  155|-> "\x74\x69\x6f\x6e\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74"\
#  156|   "\x69\x6f\x6e\x5f\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f"\
#  157|   "\x72\x61\x2e\x76\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1224]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:156:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  154|   "\x69\x6f\x6e\x20\x3d\x20\x31\x0a\x0a\x64\x65\x73\x63\x72\x69\x70"\
#  155|   "\x74\x69\x6f\x6e\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74"\
#  156|-> "\x69\x6f\x6e\x5f\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f"\
#  157|   "\x72\x61\x2e\x76\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78"\
#  158|   "\x20\x66\x65\x64\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1225]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:157:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  155|   "\x74\x69\x6f\x6e\x20\x3d\x20\x22\x22\x0a\x0a\x63\x72\x65\x61\x74"\
#  156|   "\x69\x6f\x6e\x5f\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f"\
#  157|-> "\x72\x61\x2e\x76\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78"\
#  158|   "\x20\x66\x65\x64\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36"\
#  159|   "\x2e\x34\x2d\x33\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1226]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:158:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  156|   "\x69\x6f\x6e\x5f\x68\x6f\x73\x74\x20\x3d\x20\x22\x66\x65\x64\x6f"\
#  157|   "\x72\x61\x2e\x76\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78"\
#  158|-> "\x20\x66\x65\x64\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36"\
#  159|   "\x2e\x34\x2d\x33\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f"\
#  160|   "\x36\x34\x20\x23\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1227]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:159:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  157|   "\x72\x61\x2e\x76\x69\x72\x74\x22\x09\x23\x20\x4c\x69\x6e\x75\x78"\
#  158|   "\x20\x66\x65\x64\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36"\
#  159|-> "\x2e\x34\x2d\x33\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f"\
#  160|   "\x36\x34\x20\x23\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75"\
#  161|   "\x6c\x20\x31\x32\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1228]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:160:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  158|   "\x20\x66\x65\x64\x6f\x72\x61\x2e\x76\x69\x72\x74\x20\x34\x2e\x36"\
#  159|   "\x2e\x34\x2d\x33\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f"\
#  160|-> "\x36\x34\x20\x23\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75"\
#  161|   "\x6c\x20\x31\x32\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54"\
#  162|   "\x43\x20\x32\x30\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1229]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:161:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  159|   "\x2e\x34\x2d\x33\x30\x31\x2e\x66\x63\x32\x34\x2e\x78\x38\x36\x5f"\
#  160|   "\x36\x34\x20\x23\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75"\
#  161|-> "\x6c\x20\x31\x32\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54"\
#  162|   "\x43\x20\x32\x30\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72"\
#  163|   "\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1230]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:162:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  160|   "\x36\x34\x20\x23\x31\x20\x53\x4d\x50\x20\x54\x75\x65\x20\x4a\x75"\
#  161|   "\x6c\x20\x31\x32\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54"\
#  162|-> "\x43\x20\x32\x30\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72"\
#  163|   "\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34"\
#  164|   "\x36\x39\x36\x31\x31\x35\x31\x30\x09\x23\x20\x57\x65\x64\x20\x4a"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1231]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:163:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  161|   "\x6c\x20\x31\x32\x20\x31\x31\x3a\x35\x30\x3a\x30\x30\x20\x55\x54"\
#  162|   "\x43\x20\x32\x30\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72"\
#  163|-> "\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34"\
#  164|   "\x36\x39\x36\x31\x31\x35\x31\x30\x09\x23\x20\x57\x65\x64\x20\x4a"\
#  165|   "\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20\x32"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1232]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:164:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  162|   "\x43\x20\x32\x30\x31\x36\x20\x78\x38\x36\x5f\x36\x34\x0a\x63\x72"\
#  163|   "\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34"\
#  164|-> "\x36\x39\x36\x31\x31\x35\x31\x30\x09\x23\x20\x57\x65\x64\x20\x4a"\
#  165|   "\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20\x32"\
#  166|   "\x30\x31\x36\x0a\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\

Error: SHELLCHECK_WARNING (CWE-149): [#def1233]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:165:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  163|   "\x65\x61\x74\x69\x6f\x6e\x5f\x74\x69\x6d\x65\x20\x3d\x20\x31\x34"\
#  164|   "\x36\x39\x36\x31\x31\x35\x31\x30\x09\x23\x20\x57\x65\x64\x20\x4a"\
#  165|-> "\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20\x32"\
#  166|   "\x30\x31\x36\x0a\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#  167|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=5632 seek=1 conv=notrunc

Error: SHELLCHECK_WARNING (CWE-149): [#def1234]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:166:67: warning[SC2140]: Word is of the form "A"B"C" (B indicated). Did you mean "ABC" or "A\"B\"C"?
#  164|   "\x36\x39\x36\x31\x31\x35\x31\x30\x09\x23\x20\x57\x65\x64\x20\x4a"\
#  165|   "\x75\x6c\x20\x32\x37\x20\x31\x31\x3a\x32\x35\x3a\x31\x30\x20\x32"\
#  166|-> "\x30\x31\x36\x0a\x0a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"\
#  167|   "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" | dd of="$1" bs=5632 seek=1 conv=notrunc
#  168|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def1235]
/usr/share/lvm2-testsuite/shell/pv-ext-update.sh:172:33: warning[SC2154]: dev1 is referenced but not assigned.
#  170|   aux prepare_devs 1 8
#  171|   
#  172|-> create_pv_with_ext_vsn1_and_vg "$dev1"
#  173|   
#  174|   # pvs doesn't update PV header because it holds only VG read lock

Error: SHELLCHECK_WARNING (CWE-563): [#def1236]
/usr/share/lvm2-testsuite/shell/pv-min-size.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1237]
/usr/share/lvm2-testsuite/shell/pv-min-size.sh:23:17: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   aux prepare_pvs 1 8
#   22|   
#   23|-> check pv_field "$dev1" pv_name "$dev1"
#   24|   
#   25|   # increase min size beyond created PV size 10MB

Error: SHELLCHECK_WARNING (CWE-563): [#def1238]
/usr/share/lvm2-testsuite/shell/pv-range-overflow.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1239]
/usr/share/lvm2-testsuite/shell/pv-range-overflow.sh:22:17: warning[SC2154]: lv is referenced but not assigned.
#   20|   aux prepare_vg 2
#   21|   
#   22|-> lvcreate -L4 -n $lv $vg
#   23|   
#   24|   # Test for the bogus diagnostic reported in BZ 284771

Error: SHELLCHECK_WARNING (CWE-457): [#def1240]
/usr/share/lvm2-testsuite/shell/pv-range-overflow.sh:22:21: warning[SC2154]: vg is referenced but not assigned.
#   20|   aux prepare_vg 2
#   21|   
#   22|-> lvcreate -L4 -n $lv $vg
#   23|   
#   24|   # Test for the bogus diagnostic reported in BZ 284771

Error: SHELLCHECK_WARNING (CWE-457): [#def1241]
/usr/share/lvm2-testsuite/shell/pv-range-overflow.sh:27:24: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   # http://bugzilla.redhat.com/284771.
#   26|   # 'run pvmove with an unrecognized LV name to show bad diagnostic'
#   27|-> not pvmove -v -nbogus "$dev1" "$dev2" 2> err
#   28|   grep "Logical volume bogus not found." err
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1242]
/usr/share/lvm2-testsuite/shell/pv-range-overflow.sh:27:32: warning[SC2154]: dev2 is referenced but not assigned.
#   25|   # http://bugzilla.redhat.com/284771.
#   26|   # 'run pvmove with an unrecognized LV name to show bad diagnostic'
#   27|-> not pvmove -v -nbogus "$dev1" "$dev2" 2> err
#   28|   grep "Logical volume bogus not found." err
#   29|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1243]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1244]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:27:11: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   
#   26|   # check 'allocatable' pv attribute
#   27|-> pvcreate "$dev1"
#   28|   check pv_field "$dev1" pv_attr ---
#   29|   vgcreate $SHARED $vg1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1245]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:29:18: warning[SC2154]: vg1 is referenced but not assigned.
#   27|   pvcreate "$dev1"
#   28|   check pv_field "$dev1" pv_attr ---
#   29|-> vgcreate $SHARED $vg1 "$dev1"
#   30|   check pv_field "$dev1" pv_attr a--
#   31|   pvchange --allocatable n "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1246]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:44:25: warning[SC2154]: dev4 is referenced but not assigned.
#   42|   	fail pvchange "$dev1" -x y
#   43|   	fail pvchange "$dev1" -x n
#   44|-> 	vgcreate $SHARED $vg1 "$dev4" "$dev1"
#   45|   
#   46|   # "pvchange adds/dels tag to pvs with metadatacopies = $mda "

Error: SHELLCHECK_WARNING (CWE-457): [#def1247]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:74:30: warning[SC2154]: dev2 is referenced but not assigned.
#   72|   # "pvchange uuid"
#   73|   pvcreate --metadatacopies 0 "$dev1"
#   74|-> pvcreate --metadatacopies 2 "$dev2"
#   75|   vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   76|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1248]
/usr/share/lvm2-testsuite/shell/pvchange-usage.sh:107:24: warning[SC2154]: lv is referenced but not assigned.
#  105|   
#  106|   # pvchange rejects uuid change under an active lv
#  107|-> lvcreate -l 16 -i 2 -n $lv --alloc anywhere $vg1
#  108|   check pvlv_counts $vg1 2 1 0
#  109|   not pvchange -u "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1249]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1250]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1251]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:23:21: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> dd if=/dev/zero of="$dev1" bs=1M count=2 oflag=direct
#   24|   dd if=/dev/zero of="$dev2" bs=1M count=2 oflag=direct
#   25|   # clear entire dev to cover mda2

Error: SHELLCHECK_WARNING (CWE-457): [#def1252]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:24:21: warning[SC2154]: dev2 is referenced but not assigned.
#   22|   
#   23|   dd if=/dev/zero of="$dev1" bs=1M count=2 oflag=direct
#   24|-> dd if=/dev/zero of="$dev2" bs=1M count=2 oflag=direct
#   25|   # clear entire dev to cover mda2
#   26|   dd if=/dev/zero of="$dev3" bs=1M count=$SIZE_MB oflag=direct

Error: SHELLCHECK_WARNING (CWE-457): [#def1253]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:26:21: warning[SC2154]: dev3 is referenced but not assigned.
#   24|   dd if=/dev/zero of="$dev2" bs=1M count=2 oflag=direct
#   25|   # clear entire dev to cover mda2
#   26|-> dd if=/dev/zero of="$dev3" bs=1M count=$SIZE_MB oflag=direct
#   27|   dd if=/dev/zero of="$dev4" bs=1M count=2 oflag=direct
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1254]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:27:21: warning[SC2154]: dev4 is referenced but not assigned.
#   25|   # clear entire dev to cover mda2
#   26|   dd if=/dev/zero of="$dev3" bs=1M count=$SIZE_MB oflag=direct
#   27|-> dd if=/dev/zero of="$dev4" bs=1M count=2 oflag=direct
#   28|   
#   29|   pvcreate "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1255]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:34:18: warning[SC2154]: vg is referenced but not assigned.
#   32|   pvcreate --pvmetadatacopies 0 "$dev4"
#   33|   
#   34|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3"
#   35|   
#   36|   pvs

Error: SHELLCHECK_WARNING (CWE-398): [#def1256]
/usr/share/lvm2-testsuite/shell/pvck-dump.sh:95:32: warning[SC2238]: Redirecting to/from command name instead of file. Did you want pipes/xargs (or quote to ignore)?
#   93|   pvck --dump metadata "$dev2" > m2
#   94|   pvck --dump metadata "$dev3" > m3
#   95|-> pvck --dump metadata "$dev4" > m4
#   96|   pvck --dump metadata --pvmetadatacopies 2 "$dev3" > m3b
#   97|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1257]
/usr/share/lvm2-testsuite/shell/pvck-repair.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1258]
/usr/share/lvm2-testsuite/shell/pvck-repair.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMPOLLD=1
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1259]
/usr/share/lvm2-testsuite/shell/pvck-repair.sh:26:11: warning[SC2154]: vg is referenced but not assigned.
#   24|   		dd if=/dev/zero of="$i" bs=1M count=1 oflag=direct
#   25|   	done
#   26|-> 	vgcreate $vg "$@"
#   27|   }
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1260]
/usr/share/lvm2-testsuite/shell/pvck-repair.sh:45:14: warning[SC2154]: dev1 is referenced but not assigned.
#   43|   
#   44|   # One PV, one mda, pv_header zeroed
#   45|-> _prepare_vg "$dev1"
#   46|   dd if=/dev/zero of="$dev1" bs=512 count=2
#   47|   pvck --dump headers "$dev1" || true

Error: SHELLCHECK_WARNING (CWE-457): [#def1261]
/usr/share/lvm2-testsuite/shell/pvck-repair.sh:230:22: warning[SC2154]: dev2 is referenced but not assigned.
#  228|   
#  229|   # Two PV, one mda each, pv_header and mda_header zeroed on each
#  230|-> _prepare_vg "$dev1" "$dev2"
#  231|   dd if=/dev/zero of="$dev1" bs=512 count=2
#  232|   dd if=/dev/zero of="$dev2" bs=512 count=2

Error: SHELLCHECK_WARNING (CWE-563): [#def1262]
/usr/share/lvm2-testsuite/shell/pvcreate-bootloaderarea.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test pvcreate bootloader area support'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1263]
/usr/share/lvm2-testsuite/shell/pvcreate-bootloaderarea.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Test pvcreate bootloader area support'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1264]
/usr/share/lvm2-testsuite/shell/pvcreate-bootloaderarea.sh:23:84: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   
#   22|   #COMM 'pvcreate sets/aligns bootloader area correctly'
#   23|-> pvcreate --metadatasize 255s --dataalignment 262144b --bootloaderareasize 614400b "$dev1"
#   24|   # ba_start must be aligned based on dataalignment
#   25|   # pe_start starts at next dataalignment multiple

Error: SHELLCHECK_WARNING (CWE-457): [#def1265]
/usr/share/lvm2-testsuite/shell/pvcreate-bootloaderarea.sh:48:18: warning[SC2154]: vg is referenced but not assigned.
#   46|   pvremove -ff "$dev1"
#   47|   pvcreate --metadatasize 255s --dataalignment 256k --bootloaderareasize 600k "$dev1"
#   48|-> vgcreate $SHARED $vg "$dev1"
#   49|   vgcfgbackup -f "$TESTDIR/vg_with_ba_backup" "$vg"
#   50|   pv_uuid=$(get pv_field "$dev1" pv_uuid)

Error: SHELLCHECK_WARNING (CWE-563): [#def1266]
/usr/share/lvm2-testsuite/shell/pvcreate-ff.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1267]
/usr/share/lvm2-testsuite/shell/pvcreate-ff.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1268]
/usr/share/lvm2-testsuite/shell/pvcreate-ff.sh:19:11: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 2
#   19|-> pvcreate "$dev1"
#   20|   vgcreate foo "$dev1"
#   21|   pvcreate -ff -y "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1269]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   # TODO: once code get fixed, add matching 'check' calls
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1270]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:28:11: warning[SC2154]: dev2 is referenced but not assigned.
#   26|   aux prepare_devs 4
#   27|   
#   28|-> pvcreate "$dev2"
#   29|   
#   30|   aux mdadm_create --metadata=1.0 --level=0 --chunk=64 --raid-devices=2 "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1271]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:30:72: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   pvcreate "$dev2"
#   29|   
#   30|-> aux mdadm_create --metadata=1.0 --level=0 --chunk=64 --raid-devices=2 "$dev1" "$dev2"
#   31|   
#   32|   pvs | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def1272]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:35:18: warning[SC2154]: vg is referenced but not assigned.
#   33|   not grep pv2 out
#   34|   
#   35|-> vgcreate $SHARED $vg "$dev3" "$dev4"
#   36|   
#   37|   # create 2 disk MD raid1 array

Error: SHELLCHECK_WARNING (CWE-457): [#def1273]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:35:23: warning[SC2154]: dev3 is referenced but not assigned.
#   33|   not grep pv2 out
#   34|   
#   35|-> vgcreate $SHARED $vg "$dev3" "$dev4"
#   36|   
#   37|   # create 2 disk MD raid1 array

Error: SHELLCHECK_WARNING (CWE-457): [#def1274]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:35:31: warning[SC2154]: dev4 is referenced but not assigned.
#   33|   not grep pv2 out
#   34|   
#   35|-> vgcreate $SHARED $vg "$dev3" "$dev4"
#   36|   
#   37|   # create 2 disk MD raid1 array

Error: SHELLCHECK_WARNING (CWE-563): [#def1275]
/usr/share/lvm2-testsuite/shell/pvcreate-md-fake-hdr.sh:43:1: warning[SC2034]: pvdev appears unused. Verify use (or export if used externally).
#   41|   
#   42|   mddev=$(< MD_DEV)
#   43|-> pvdev=$(< MD_DEV_PV)
#   44|   sleep 3
#   45|   mdadm --stop "$mddev"

Error: SHELLCHECK_WARNING (CWE-563): [#def1276]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:20:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   18|   
#   19|   
#   20|-> SKIP_WITH_LVMPOLLD=1
#   21|   
#   22|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1277]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:27:11: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   
#   26|   #lv_snap=$lv2
#   27|-> pvcreate "$dev1"
#   28|   pvcreate --metadatacopies 0 "$dev2"
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1278]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:28:30: warning[SC2154]: dev2 is referenced but not assigned.
#   26|   #lv_snap=$lv2
#   27|   pvcreate "$dev1"
#   28|-> pvcreate --metadatacopies 0 "$dev2"
#   29|   
#   30|   # "check lv snapshot"

Error: SHELLCHECK_WARNING (CWE-457): [#def1279]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:31:18: warning[SC2154]: vg is referenced but not assigned.
#   29|   
#   30|   # "check lv snapshot"
#   31|-> vgcreate $SHARED $vg "$dev1" "$dev2"
#   32|   lvcreate -aey -n $lv -l 60%FREE $vg
#   33|   lvcreate -s -n $lv2 -l 10%FREE $vg/$lv

Error: SHELLCHECK_WARNING (CWE-457): [#def1280]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:32:18: warning[SC2154]: lv is referenced but not assigned.
#   30|   # "check lv snapshot"
#   31|   vgcreate $SHARED $vg "$dev1" "$dev2"
#   32|-> lvcreate -aey -n $lv -l 60%FREE $vg
#   33|   lvcreate -s -n $lv2 -l 10%FREE $vg/$lv
#   34|   vgremove -f $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1281]
/usr/share/lvm2-testsuite/shell/pvcreate-metadata0.sh:33:16: warning[SC2154]: lv2 is referenced but not assigned.
#   31|   vgcreate $SHARED $vg "$dev1" "$dev2"
#   32|   lvcreate -aey -n $lv -l 60%FREE $vg
#   33|-> lvcreate -s -n $lv2 -l 10%FREE $vg/$lv
#   34|   vgremove -f $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1282]
/usr/share/lvm2-testsuite/shell/pvcreate-operation-md.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1283]
/usr/share/lvm2-testsuite/shell/pvcreate-operation-md.sh:27:72: warning[SC2154]: dev1 is referenced but not assigned.
#   25|   
#   26|   # create 2 disk MD raid0 array (stripe_width=128K)
#   27|-> aux mdadm_create --metadata=1.0 --level=0 --chunk=64 --raid-devices=2 "$dev1" "$dev2"
#   28|   mddev=$(< MD_DEV)
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1284]
/usr/share/lvm2-testsuite/shell/pvcreate-operation-md.sh:27:80: warning[SC2154]: dev2 is referenced but not assigned.
#   25|   
#   26|   # create 2 disk MD raid0 array (stripe_width=128K)
#   27|-> aux mdadm_create --metadata=1.0 --level=0 --chunk=64 --raid-devices=2 "$dev1" "$dev2"
#   28|   mddev=$(< MD_DEV)
#   29|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1285]
/usr/share/lvm2-testsuite/shell/pvcreate-operation.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1286]
/usr/share/lvm2-testsuite/shell/pvcreate-operation.sh:29:15: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   
#   28|   # pvcreate fails when the same device appears twice on input
#   29|-> not pvcreate "$dev1" "$dev1" 2>err
#   30|   grep "Duplicate device name found on input" err
#   31|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1287]
/usr/share/lvm2-testsuite/shell/pvcreate-operation.sh:53:33: warning[SC2154]: vg1 is referenced but not assigned.
#   51|   # pvcreate (lvm$mdatype) fails when PV belongs to VG
#   52|   #   pvcreate -M$mdatype "$dev1"
#   53|->     vgcreate $SHARED -M$mdatype $vg1 "$dev1"
#   54|       not pvcreate -M$mdatype "$dev1"
#   55|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1288]
/usr/share/lvm2-testsuite/shell/pvcreate-operation.sh:61:26: warning[SC2154]: dev2 is referenced but not assigned.
#   59|   # pvcreate (lvm$mdatype) fails when PV1 does and PV2 does not belong to VG
#   60|       pvcreate -M$mdatype "$dev1"
#   61|->     pvcreate -M$mdatype "$dev2"
#   62|       vgcreate $SHARED -M$mdatype $vg1 "$dev1"
#   63|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1289]
/usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1290]
/usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1291]
/usr/share/lvm2-testsuite/shell/pvcreate-partition.sh:41:34: warning[SC2154]: dev1 is referenced but not assigned.
#   39|   }
#   40|   
#   41|-> pvcreate_on_dev_with_part_table "$dev1" "dos"
#   42|   pvcreate_on_dev_with_part_table "$dev1" "gpt"

Error: SHELLCHECK_WARNING (CWE-563): [#def1292]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1293]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1294]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:20:37: warning[SC2154]: lv1 is referenced but not assigned.
#   18|   aux prepare_vg 4
#   19|   
#   20|-> lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 2T
#   21|   lvcreate --type snapshot -s -L10 -n $lv2 $vg --virtualsize 4T
#   22|   lvcreate --type snapshot -s -L10 -n $lv3 $vg --virtualsize 4194300M

Error: SHELLCHECK_WARNING (CWE-457): [#def1295]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:20:42: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 4
#   19|   
#   20|-> lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 2T
#   21|   lvcreate --type snapshot -s -L10 -n $lv2 $vg --virtualsize 4T
#   22|   lvcreate --type snapshot -s -L10 -n $lv3 $vg --virtualsize 4194300M

Error: SHELLCHECK_WARNING (CWE-457): [#def1296]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:21:37: warning[SC2154]: lv2 is referenced but not assigned.
#   19|   
#   20|   lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 2T
#   21|-> lvcreate --type snapshot -s -L10 -n $lv2 $vg --virtualsize 4T
#   22|   lvcreate --type snapshot -s -L10 -n $lv3 $vg --virtualsize 4194300M
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1297]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:22:37: warning[SC2154]: lv3 is referenced but not assigned.
#   20|   lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 2T
#   21|   lvcreate --type snapshot -s -L10 -n $lv2 $vg --virtualsize 4T
#   22|-> lvcreate --type snapshot -s -L10 -n $lv3 $vg --virtualsize 4194300M
#   23|   
#   24|   aux extend_filter_LVMTEST

Error: SHELLCHECK_WARNING (CWE-457): [#def1298]
/usr/share/lvm2-testsuite/shell/pvcreate-restore.sh:30:10: warning[SC2154]: vg1 is referenced but not assigned.
#   28|   aux extend_devices "$DM_DEV_DIR/$vg/$lv3"
#   29|   
#   30|-> vgcreate $vg1 "$DM_DEV_DIR/$vg/$lv2"
#   31|   
#   32|   vgcfgbackup -f vgback $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1299]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test pvcreate option values'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1300]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Test pvcreate option values'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   PAGESIZE=$(getconf PAGESIZE)
#   17|   # MDA_SIZE_MIN defined in lib/format_text/layout.h

Error: SHELLCHECK_WARNING (CWE-457): [#def1301]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:25:45: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   
#   24|   #COMM 'pvcreate rejects negative setphysicalvolumesize'
#   25|-> not pvcreate --setphysicalvolumesize -1024 "$dev1"
#   26|   
#   27|   #COMM 'pvcreate rejects negative metadatasize'

Error: SHELLCHECK_WARNING (CWE-457): [#def1302]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:39:30: warning[SC2154]: dev2 is referenced but not assigned.
#   37|   #Verify vg_mda_size is smaller pv_mda_size
#   38|   pvcreate --metadatasize 512k "$dev1"
#   39|-> pvcreate --metadatasize 96k "$dev2"
#   40|   vgcreate $SHARED $vg "$dev1" "$dev2"
#   41|   pvs -o +pv_mda_size

Error: SHELLCHECK_WARNING (CWE-457): [#def1303]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:40:18: warning[SC2154]: vg is referenced but not assigned.
#   38|   pvcreate --metadatasize 512k "$dev1"
#   39|   pvcreate --metadatasize 96k "$dev2"
#   40|-> vgcreate $SHARED $vg "$dev1" "$dev2"
#   41|   pvs -o +pv_mda_size
#   42|   check compare_fields vgs $vg vg_mda_size pvs "$dev2" pv_mda_size

Error: SHELLCHECK_WARNING (CWE-457): [#def1304]
/usr/share/lvm2-testsuite/shell/pvcreate-usage.sh:58:18: warning[SC2154]: dev3 is referenced but not assigned.
#   56|   pvcreate --$j 0 "$dev1"
#   57|   pvcreate --$j 1 "$dev2"
#   58|-> pvcreate --$j 2 "$dev3"
#   59|   check pv_field "$dev1" pv_mda_count 0
#   60|   check pv_field "$dev2" pv_mda_count 1

Error: SHELLCHECK_WARNING (CWE-563): [#def1305]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Check pvmove --abort behaviour for all VGs and PVs
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   # Ignore known failure when clvmd is processing sequences of commands for two VGs in parallel - 2015/07/17 agk

Error: SHELLCHECK_WARNING (CWE-457): [#def1306]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:29:11: warning[SC2154]: dev3 is referenced but not assigned.
#   27|   aux prepare_pvs 6 90
#   28|   
#   29|-> for i in "$dev3" "$dev6" ; do
#   30|   	aux delay_dev "$i" 0 1 "$(get first_extent_sector "$i"):"
#   31|   done

Error: SHELLCHECK_WARNING (CWE-457): [#def1307]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:29:19: warning[SC2154]: dev6 is referenced but not assigned.
#   27|   aux prepare_pvs 6 90
#   28|   
#   29|-> for i in "$dev3" "$dev6" ; do
#   30|   	aux delay_dev "$i" 0 1 "$(get first_extent_sector "$i"):"
#   31|   done

Error: SHELLCHECK_WARNING (CWE-457): [#def1308]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:36:18: warning[SC2154]: vg is referenced but not assigned.
#   34|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   35|   
#   36|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1309]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:36:23: warning[SC2154]: dev1 is referenced but not assigned.
#   34|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   35|   
#   36|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1310]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:36:31: warning[SC2154]: dev2 is referenced but not assigned.
#   34|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   35|   
#   36|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1311]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:39:18: warning[SC2154]: vg1 is referenced but not assigned.
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"
#   39|-> vgcreate -s 512k $vg1 "$dev4" "$dev5"
#   40|   pvcreate --metadatacopies 0 "$dev6"
#   41|   vgextend $vg1 "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1312]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:39:24: warning[SC2154]: dev4 is referenced but not assigned.
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"
#   39|-> vgcreate -s 512k $vg1 "$dev4" "$dev5"
#   40|   pvcreate --metadatacopies 0 "$dev6"
#   41|   vgextend $vg1 "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1313]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:39:32: warning[SC2154]: dev5 is referenced but not assigned.
#   37|   pvcreate --metadatacopies 0 "$dev3"
#   38|   vgextend $vg "$dev3"
#   39|-> vgcreate -s 512k $vg1 "$dev4" "$dev5"
#   40|   pvcreate --metadatacopies 0 "$dev6"
#   41|   vgextend $vg1 "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1314]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:49:26: warning[SC2154]: lv1 is referenced but not assigned.
#   47|   
#   48|   # Create multisegment LV
#   49|-> lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
#   50|   lvcreate -an -Zn -l60 -n $lv2 $vg "$dev2"
#   51|   lvcreate -an -Zn -l60 -n $lv1 $vg1 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1315]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:50:26: warning[SC2154]: lv2 is referenced but not assigned.
#   48|   # Create multisegment LV
#   49|   lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
#   50|-> lvcreate -an -Zn -l60 -n $lv2 $vg "$dev2"
#   51|   lvcreate -an -Zn -l60 -n $lv1 $vg1 "$dev4"
#   52|   lvextend -l+30 -n $vg1/$lv1 "$dev5"

Error: SHELLCHECK_WARNING (CWE-140): [#def1316]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:54:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   52|   lvextend -l+30 -n $vg1/$lv1 "$dev5"
#   53|   
#   54|-> cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|   cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")

Error: SHELLCHECK_WARNING (CWE-140): [#def1317]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:54:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   52|   lvextend -l+30 -n $vg1/$lv1 "$dev5"
#   53|   
#   54|-> cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|   cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")

Error: SHELLCHECK_WARNING (CWE-140): [#def1318]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:55:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   53|   
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|-> cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|   cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1319]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:55:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   53|   
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|-> cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|   cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1320]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:56:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|-> cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   
#   58|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1321]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:56:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|-> cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   
#   58|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1322]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:56:42: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|-> cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   
#   58|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1323]
/usr/share/lvm2-testsuite/shell/pvmove-abort-all.sh:56:47: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   54|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   55|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   56|-> cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6")
#   57|   
#   58|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1324]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Check pvmove --abort behaviour when specific device is requested
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1325]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:25:16: warning[SC2154]: dev3 is referenced but not assigned.
#   23|   aux prepare_pvs 3 90
#   24|   
#   25|-> aux delay_dev "$dev3" 0 1 "$(get first_extent_sector "$dev3"):"
#   26|   # fallback to mirror throttling
#   27|   # this does not work too well with fast CPUs

Error: SHELLCHECK_WARNING (CWE-457): [#def1326]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:30:18: warning[SC2154]: vg is referenced but not assigned.
#   28|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   29|   
#   30|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   31|   pvcreate --metadatacopies 0 "$dev3"
#   32|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1327]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:30:23: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   29|   
#   30|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   31|   pvcreate --metadatacopies 0 "$dev3"
#   32|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1328]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:30:31: warning[SC2154]: dev2 is referenced but not assigned.
#   28|   test -f HAVE_DM_DELAY || { aux throttle_dm_mirror || skip ; }
#   29|   
#   30|-> vgcreate -s 512k $vg "$dev1" "$dev2"
#   31|   pvcreate --metadatacopies 0 "$dev3"
#   32|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1329]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:40:26: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   
#   39|   # Create multisegment LV
#   40|-> lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
#   41|   lvcreate -an -Zn -l80 -n $lv2 $vg "$dev2"
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1330]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:41:26: warning[SC2154]: lv2 is referenced but not assigned.
#   39|   # Create multisegment LV
#   40|   lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
#   41|-> lvcreate -an -Zn -l80 -n $lv2 $vg "$dev2"
#   42|   
#   43|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")

Error: SHELLCHECK_WARNING (CWE-140): [#def1331]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:43:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   41|   lvcreate -an -Zn -l80 -n $lv2 $vg "$dev2"
#   42|   
#   43|-> cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   44|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   45|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1332]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:43:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   41|   lvcreate -an -Zn -l80 -n $lv2 $vg "$dev2"
#   42|   
#   43|-> cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   44|   cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   45|   

Error: SHELLCHECK_WARNING (CWE-140): [#def1333]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:44:18: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   42|   
#   43|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   44|-> cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   45|   
#   46|   if test -z "$backgroundarg" ; then

Error: SHELLCHECK_WARNING (CWE-140): [#def1334]
/usr/share/lvm2-testsuite/shell/pvmove-abort.sh:44:33: warning[SC2206]: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#   42|   
#   43|   cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
#   44|-> cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")
#   45|   
#   46|   if test -z "$backgroundarg" ; then

Error: SHELLCHECK_WARNING (CWE-563): [#def1335]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works with all common segment types"
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1336]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   test_description="ensure pvmove works with all common segment types"
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1337]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:30:23: warning[SC2154]: lv1 is referenced but not assigned.
#   28|   
#   29|   # Testing pvmove of linear LV
#   30|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   31|   lvcreate -aey -l 2 -n $lv1 $vg "$dev1"
#   32|   lvextend -l+2 $vg/${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1338]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:30:34: warning[SC2154]: vg is referenced but not assigned.
#   28|   
#   29|   # Testing pvmove of linear LV
#   30|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   31|   lvcreate -aey -l 2 -n $lv1 $vg "$dev1"
#   32|   lvextend -l+2 $vg/${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1339]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:30:39: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   
#   29|   # Testing pvmove of linear LV
#   30|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   31|   lvcreate -aey -l 2 -n $lv1 $vg "$dev1"
#   32|   lvextend -l+2 $vg/${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1340]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:34:31: warning[SC2154]: dev2 is referenced but not assigned.
#   32|   lvextend -l+2 $vg/${lv1}_foo "$dev1"
#   33|   lvextend -l+2 $vg/${lv1} "$dev1"
#   34|-> lvextend -l+2 $vg/${lv1}_foo "$dev2"
#   35|   lvextend -l+2 $vg/${lv1} "$dev3"
#   36|   check lv_tree_on $vg ${lv1}_foo "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1341]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:35:27: warning[SC2154]: dev3 is referenced but not assigned.
#   33|   lvextend -l+2 $vg/${lv1} "$dev1"
#   34|   lvextend -l+2 $vg/${lv1}_foo "$dev2"
#   35|-> lvextend -l+2 $vg/${lv1} "$dev3"
#   36|   check lv_tree_on $vg ${lv1}_foo "$dev1" "$dev2"
#   37|   check lv_tree_on $vg $lv1 "$dev1" "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1342]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:42:26: warning[SC2154]: dev5 is referenced but not assigned.
#   40|   aux mkdev_md5sum $vg $lv1
#   41|   dmsetup table
#   42|-> pvmove --atomic "$dev1" "$dev5"
#   43|   check lv_tree_on $vg ${lv1}_foo "$dev2" "$dev5"
#   44|   check lv_tree_on $vg $lv1 "$dev3" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1343]
/usr/share/lvm2-testsuite/shell/pvmove-all-segtypes.sh:49:25: warning[SC2154]: dev4 is referenced but not assigned.
#   47|   check lv_field $vg/$lv1 seg_count 2
#   48|   check dev_md5sum $vg $lv1
#   49|-> pvmove -n $lv1 "$dev5" "$dev4"
#   50|   check lv_tree_on $vg $lv1 "$dev3" "$dev4"
#   51|   check lv_tree_on $vg ${lv1}_foo "$dev2" "$dev5"

Error: SHELLCHECK_WARNING (CWE-563): [#def1344]
/usr/share/lvm2-testsuite/shell/pvmove-background.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Check pvmove behavior when it's progress and machine is rebooted
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1345]
/usr/share/lvm2-testsuite/shell/pvmove-background.sh:23:22: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   for mode in "--atomic" ""
#   22|   do
#   23|-> lvcreate -aey -l1 -n $lv1 $vg "$dev1"
#   24|   
#   25|   lvs -o +devices | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def1346]
/usr/share/lvm2-testsuite/shell/pvmove-background.sh:23:27: warning[SC2154]: vg is referenced but not assigned.
#   21|   for mode in "--atomic" ""
#   22|   do
#   23|-> lvcreate -aey -l1 -n $lv1 $vg "$dev1"
#   24|   
#   25|   lvs -o +devices | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def1347]
/usr/share/lvm2-testsuite/shell/pvmove-background.sh:23:32: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   for mode in "--atomic" ""
#   22|   do
#   23|-> lvcreate -aey -l1 -n $lv1 $vg "$dev1"
#   24|   
#   25|   lvs -o +devices | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def1348]
/usr/share/lvm2-testsuite/shell/pvmove-background.sh:28:62: warning[SC2154]: dev2 is referenced but not assigned.
#   26|   grep "$dev1" out
#   27|   
#   28|-> LVM_TEST_TAG="kill_me_$PREFIX" pvmove $mode -i 1 -b "$dev1" "$dev2"
#   29|   sleep 5 # arbitrary...
#   30|   lvs -o +devices | tee out

Error: SHELLCHECK_WARNING (CWE-563): [#def1349]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:14:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   12|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   13|   
#   14|-> test_description="ensure that pvmove works with basic options"
#   15|   
#   16|   SKIP_WITH_LVMLOCKD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1350]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   test_description="ensure that pvmove works with basic options"
#   15|   
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1351]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:26:20: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   create_vg_() {
#   26|-> 	vgcreate -s 128k "$vg" "${DEVICES[@]}"
#   27|   }
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1352]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:32:23: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   # Common environment setup/cleanup for each sub testcases
#   31|   prepare_lvs_() {
#   32|-> 	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|   	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1353]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:32:33: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   # Common environment setup/cleanup for each sub testcases
#   31|   prepare_lvs_() {
#   32|-> 	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|   	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1354]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:34:27: warning[SC2154]: lv2 is referenced but not assigned.
#   32|   	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|-> 	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"
#   35|   	check lv_on $vg $lv2 "$dev2" "$dev3" "$dev4"
#   36|   	lvextend -l+2 $vg/$lv1 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1355]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:34:37: warning[SC2154]: dev2 is referenced but not assigned.
#   32|   	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|-> 	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"
#   35|   	check lv_on $vg $lv2 "$dev2" "$dev3" "$dev4"
#   36|   	lvextend -l+2 $vg/$lv1 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1356]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:34:45: warning[SC2154]: dev3 is referenced but not assigned.
#   32|   	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|-> 	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"
#   35|   	check lv_on $vg $lv2 "$dev2" "$dev3" "$dev4"
#   36|   	lvextend -l+2 $vg/$lv1 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1357]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:34:53: warning[SC2154]: dev4 is referenced but not assigned.
#   32|   	lvcreate -aey -l2 -n $lv1 $vg "$dev1"
#   33|   	check lv_on $vg $lv1 "$dev1"
#   34|-> 	lvcreate -aey -l9 -i3 -n $lv2 $vg "$dev2" "$dev3" "$dev4"
#   35|   	check lv_on $vg $lv2 "$dev2" "$dev3" "$dev4"
#   36|   	lvextend -l+2 $vg/$lv1 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1358]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:41:23: warning[SC2154]: lv3 is referenced but not assigned.
#   39|   	lvextend -l+2 $vg/$lv1 "$dev1"
#   40|   	check lv_on $vg $lv1 "$dev1" "$dev2" "$dev3"
#   41|-> 	lvcreate -aey -l1 -n $lv3 $vg "$dev2"
#   42|   	check lv_on $vg $lv3 "$dev2"
#   43|   	aux mkdev_md5sum $vg $lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1359]
/usr/share/lvm2-testsuite/shell/pvmove-basic.sh:103:39: warning[SC2154]: dev5 is referenced but not assigned.
#  101|   #COMM "only specified LV is moved: from pv2 to pv5 only for lv1"
#  102|   restore_lvs_
#  103|-> pvmove $mode -i1 -n $vg/$lv1 "$dev2" "$dev5"
#  104|   check lv_on $vg $lv1 "$dev1" "$dev5" "$dev3"
#  105|   lvs_not_changed_ $lv2 $lv3

Error: SHELLCHECK_WARNING (CWE-563): [#def1360]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works with the cache segment types"
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1361]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description="ensure pvmove works with the cache segment types"
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1362]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:43:23: warning[SC2154]: lv1 is referenced but not assigned.
#   41|   # Testing pvmove of cache-pool LV (can't check contents though)
#   42|   ###############################################################
#   43|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   44|   lvcreate --type cache-pool -n ${lv1}_pool -l 4 $vg "$dev1"
#   45|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1363]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:43:34: warning[SC2154]: vg is referenced but not assigned.
#   41|   # Testing pvmove of cache-pool LV (can't check contents though)
#   42|   ###############################################################
#   43|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   44|   lvcreate --type cache-pool -n ${lv1}_pool -l 4 $vg "$dev1"
#   45|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1364]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:43:39: warning[SC2154]: dev1 is referenced but not assigned.
#   41|   # Testing pvmove of cache-pool LV (can't check contents though)
#   42|   ###############################################################
#   43|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   44|   lvcreate --type cache-pool -n ${lv1}_pool -l 4 $vg "$dev1"
#   45|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1365]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:48:23: warning[SC2154]: dev5 is referenced but not assigned.
#   46|   check lv_tree_on $vg ${lv1}_pool "$dev1"
#   47|   
#   48|-> pvmove $mode "$dev1" "$dev5" 2>&1 | tee out
#   49|   lvs -a -o+devices $vg
#   50|   check lv_tree_on $vg ${lv1}_pool "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1366]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:67:23: warning[SC2154]: dev3 is referenced but not assigned.
#   65|   
#   66|   aux mkdev_md5sum $vg $lv1
#   67|-> pvmove $mode "$dev1" "$dev3" 2>&1 | tee out
#   68|   check lv_tree_on $vg ${lv1}_foo "$dev3"
#   69|   #check lv_tree_on $vg ${lv1}_pool "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1367]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:85:54: warning[SC2154]: dev2 is referenced but not assigned.
#   83|   ####################################
#   84|   lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   85|-> lvcreate --type raid1 -m 1 -l 8 -n $lv1 $vg "$dev1" "$dev2"
#   86|   lvcreate --type cache -l 4 -n ${lv1}_pool $vg/$lv1 "$dev5"
#   87|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1368]
/usr/share/lvm2-testsuite/shell/pvmove-cache-segtypes.sh:144:58: warning[SC2154]: dev4 is referenced but not assigned.
#  142|   lvconvert --yes --type cache-pool $vg/cachepool --poolmetadata $vg/meta
#  143|   # RAID for thin pool data LV
#  144|-> lvcreate --type raid1 -m 1 -L 8 -n thinpool $vg "$dev3" "$dev4"
#  145|   # Convert thin pool data to a cached LV
#  146|   lvconvert --type cache -Zy $vg/thinpool --cachepool $vg/cachepool

Error: SHELLCHECK_WARNING (CWE-563): [#def1369]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works with lvs"
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1370]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description="ensure pvmove works with lvs"
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1371]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:22:23: warning[SC2154]: lv1 is referenced but not assigned.
#   20|   aux prepare_vg 5 180
#   21|   
#   22|-> lvcreate -aey -L30 -n $lv1 $vg "$dev1"
#   23|   lvextend -L+30 $vg/$lv1 "$dev2"
#   24|   lvextend -L+30 $vg/$lv1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1372]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:22:28: warning[SC2154]: vg is referenced but not assigned.
#   20|   aux prepare_vg 5 180
#   21|   
#   22|-> lvcreate -aey -L30 -n $lv1 $vg "$dev1"
#   23|   lvextend -L+30 $vg/$lv1 "$dev2"
#   24|   lvextend -L+30 $vg/$lv1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1373]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:22:33: warning[SC2154]: dev1 is referenced but not assigned.
#   20|   aux prepare_vg 5 180
#   21|   
#   22|-> lvcreate -aey -L30 -n $lv1 $vg "$dev1"
#   23|   lvextend -L+30 $vg/$lv1 "$dev2"
#   24|   lvextend -L+30 $vg/$lv1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1374]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:23:26: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   
#   22|   lvcreate -aey -L30 -n $lv1 $vg "$dev1"
#   23|-> lvextend -L+30 $vg/$lv1 "$dev2"
#   24|   lvextend -L+30 $vg/$lv1 "$dev1"
#   25|   lvextend -L+30 $vg/$lv1 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1375]
/usr/share/lvm2-testsuite/shell/pvmove-lvs.sh:28:20: warning[SC2154]: dev5 is referenced but not assigned.
#   26|   lvextend -L+30 $vg/$lv1 "$dev1"
#   27|   
#   28|-> pvmove -b "$dev1" "$dev5" 2>&1 | tee out
#   29|   
#   30|   #lvchange -an $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def1376]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works with raid segment types"
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1377]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description="ensure pvmove works with raid segment types"
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1378]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:25:19: warning[SC2154]: vg is referenced but not assigned.
#   23|   get_devs
#   24|   
#   25|-> vgcreate -s 128k "$vg" "${DEVICES[@]}"
#   26|   
#   27|   for mode in "--atomic" ""

Error: SHELLCHECK_WARNING (CWE-457): [#def1379]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:36:23: warning[SC2154]: lv1 is referenced but not assigned.
#   34|   
#   35|   # Testing pvmove of RAID1 LV
#   36|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   37|   lvcreate -aey --regionsize 16K -l 2 --type raid1 -m 1 -n $lv1 $vg "$dev1" "$dev2"
#   38|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1380]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:36:39: warning[SC2154]: dev1 is referenced but not assigned.
#   34|   
#   35|   # Testing pvmove of RAID1 LV
#   36|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   37|   lvcreate -aey --regionsize 16K -l 2 --type raid1 -m 1 -n $lv1 $vg "$dev1" "$dev2"
#   38|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1381]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:37:76: warning[SC2154]: dev2 is referenced but not assigned.
#   35|   # Testing pvmove of RAID1 LV
#   36|   lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   37|-> lvcreate -aey --regionsize 16K -l 2 --type raid1 -m 1 -n $lv1 $vg "$dev1" "$dev2"
#   38|   check lv_tree_on $vg ${lv1}_foo "$dev1"
#   39|   check lv_tree_on $vg $lv1 "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1382]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:41:23: warning[SC2154]: dev5 is referenced but not assigned.
#   39|   check lv_tree_on $vg $lv1 "$dev1" "$dev2"
#   40|   aux mkdev_md5sum $vg $lv1
#   41|-> pvmove $mode "$dev1" "$dev5"
#   42|   check lv_tree_on $vg ${lv1}_foo "$dev5"
#   43|   check lv_tree_on $vg $lv1 "$dev2" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1383]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:45:31: warning[SC2154]: dev4 is referenced but not assigned.
#   43|   check lv_tree_on $vg $lv1 "$dev2" "$dev5"
#   44|   check dev_md5sum $vg $lv1
#   45|-> pvmove $mode -n $lv1 "$dev5" "$dev4"
#   46|   check lv_tree_on $vg $lv1 "$dev2" "$dev4"
#   47|   check lv_tree_on $vg ${lv1}_foo "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1384]
/usr/share/lvm2-testsuite/shell/pvmove-raid-segtypes.sh:68:34: warning[SC2154]: dev3 is referenced but not assigned.
#   66|   lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   67|   lvcreate -aey -l 4 --type raid10 -i 2 -m 1 -n $lv1 $vg \
#   68|->                 "$dev1" "$dev2" "$dev3" "$dev4"
#   69|   check lv_tree_on $vg ${lv1}_foo "$dev1"
#   70|   check lv_tree_on $vg $lv1 "$dev1" "$dev2" "$dev3" "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1385]
/usr/share/lvm2-testsuite/shell/pvmove-restart.sh:19:26: warning[SC2154]: vg is referenced but not assigned.
#   17|   aux prepare_pvs 3 60
#   18|   
#   19|-> vgcreate $SHARED -s 128k $vg "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3"
#   21|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1386]
/usr/share/lvm2-testsuite/shell/pvmove-restart.sh:19:31: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   aux prepare_pvs 3 60
#   18|   
#   19|-> vgcreate $SHARED -s 128k $vg "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3"
#   21|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1387]
/usr/share/lvm2-testsuite/shell/pvmove-restart.sh:19:39: warning[SC2154]: dev2 is referenced but not assigned.
#   17|   aux prepare_pvs 3 60
#   18|   
#   19|-> vgcreate $SHARED -s 128k $vg "$dev1" "$dev2"
#   20|   pvcreate --metadatacopies 0 "$dev3"
#   21|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1388]
/usr/share/lvm2-testsuite/shell/pvmove-restart.sh:20:30: warning[SC2154]: dev3 is referenced but not assigned.
#   18|   
#   19|   vgcreate $SHARED -s 128k $vg "$dev1" "$dev2"
#   20|-> pvcreate --metadatacopies 0 "$dev3"
#   21|   vgextend $vg "$dev3"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1389]
/usr/share/lvm2-testsuite/shell/pvmove-restart.sh:32:25: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   
#   31|   # Create multisegment LV
#   32|-> lvcreate -an -Zn -l5 -n $lv1 $vg "$dev1"
#   33|   lvextend -l+10 $vg/$lv1 "$dev2"
#   34|   lvextend -l+5 $vg/$lv1 "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1390]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:18:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   16|   # 2 pvmove LVs in 2 VGs (1 per VG)
#   17|   
#   18|-> SKIP_WITH_LVMLOCKD=1
#   19|   SKIP_WITH_CLVMD=1
#   20|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1391]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:19:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   SKIP_WITH_LVMLOCKD=1
#   19|-> SKIP_WITH_CLVMD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1392]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:25:18: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_pvs 4 30
#   24|   
#   25|-> vgcreate -s 128k $vg "$dev1"
#   26|   vgcreate -s 128k $vg1 "$dev2"
#   27|   pvcreate --metadatacopies 0 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1393]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:25:23: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   aux prepare_pvs 4 30
#   24|   
#   25|-> vgcreate -s 128k $vg "$dev1"
#   26|   vgcreate -s 128k $vg1 "$dev2"
#   27|   pvcreate --metadatacopies 0 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1394]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:26:18: warning[SC2154]: vg1 is referenced but not assigned.
#   24|   
#   25|   vgcreate -s 128k $vg "$dev1"
#   26|-> vgcreate -s 128k $vg1 "$dev2"
#   27|   pvcreate --metadatacopies 0 "$dev3"
#   28|   pvcreate --metadatacopies 0 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1395]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:26:24: warning[SC2154]: dev2 is referenced but not assigned.
#   24|   
#   25|   vgcreate -s 128k $vg "$dev1"
#   26|-> vgcreate -s 128k $vg1 "$dev2"
#   27|   pvcreate --metadatacopies 0 "$dev3"
#   28|   pvcreate --metadatacopies 0 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1396]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:27:30: warning[SC2154]: dev3 is referenced but not assigned.
#   25|   vgcreate -s 128k $vg "$dev1"
#   26|   vgcreate -s 128k $vg1 "$dev2"
#   27|-> pvcreate --metadatacopies 0 "$dev3"
#   28|   pvcreate --metadatacopies 0 "$dev4"
#   29|   vgextend $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1397]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:28:30: warning[SC2154]: dev4 is referenced but not assigned.
#   26|   vgcreate -s 128k $vg1 "$dev2"
#   27|   pvcreate --metadatacopies 0 "$dev3"
#   28|-> pvcreate --metadatacopies 0 "$dev4"
#   29|   vgextend $vg "$dev3"
#   30|   vgextend $vg1 "$dev4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1398]
/usr/share/lvm2-testsuite/shell/pvmove-resume-1.sh:34:27: warning[SC2154]: lv1 is referenced but not assigned.
#   32|   # $1 resume fn
#   33|   test_pvmove_resume() {
#   34|-> 	lvcreate -an -Zn -l30 -n $lv1 $vg
#   35|   	lvcreate -an -Zn -l30 -n $lv1 $vg1
#   36|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1399]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:18:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   16|   # Moving 2 LVs in VG variant
#   17|   
#   18|-> SKIP_WITH_LVMLOCKD=1
#   19|   SKIP_WITH_CLVMD=1
#   20|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1400]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:19:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   17|   
#   18|   SKIP_WITH_LVMLOCKD=1
#   19|-> SKIP_WITH_CLVMD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1401]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:25:18: warning[SC2154]: vg is referenced but not assigned.
#   23|   aux prepare_pvs 2 30
#   24|   
#   25|-> vgcreate -s 128k $vg "$dev1"
#   26|   pvcreate --metadatacopies 0 "$dev2"
#   27|   vgextend $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1402]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:25:23: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   aux prepare_pvs 2 30
#   24|   
#   25|-> vgcreate -s 128k $vg "$dev1"
#   26|   pvcreate --metadatacopies 0 "$dev2"
#   27|   vgextend $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1403]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:26:30: warning[SC2154]: dev2 is referenced but not assigned.
#   24|   
#   25|   vgcreate -s 128k $vg "$dev1"
#   26|-> pvcreate --metadatacopies 0 "$dev2"
#   27|   vgextend $vg "$dev2"
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1404]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:31:27: warning[SC2154]: lv1 is referenced but not assigned.
#   29|   test_pvmove_resume() {
#   30|   	# 2 LVs on same device
#   31|-> 	lvcreate -an -Zn -l15 -n $lv1 $vg "$dev1"
#   32|   	lvcreate -an -Zn -l15 -n $lv2 $vg "$dev1"
#   33|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1405]
/usr/share/lvm2-testsuite/shell/pvmove-resume-2.sh:32:27: warning[SC2154]: lv2 is referenced but not assigned.
#   30|   	# 2 LVs on same device
#   31|   	lvcreate -an -Zn -l15 -n $lv1 $vg "$dev1"
#   32|-> 	lvcreate -an -Zn -l15 -n $lv2 $vg "$dev1"
#   33|   
#   34|   	aux delay_dev "$dev2" 0 30 "$(get first_extent_sector "$dev2"):"

Error: SHELLCHECK_WARNING (CWE-563): [#def1406]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:18:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   16|   # Multisegment variant w/ 2 pvmoves LVs per VG
#   17|   
#   18|-> SKIP_WITH_LVMLOCKD=1
#   19|   
#   20|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1407]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:24:18: warning[SC2154]: vg is referenced but not assigned.
#   22|   aux prepare_pvs 5 40
#   23|   
#   24|-> vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|   pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1408]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:24:23: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   aux prepare_pvs 5 40
#   23|   
#   24|-> vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|   pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1409]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:24:31: warning[SC2154]: dev2 is referenced but not assigned.
#   22|   aux prepare_pvs 5 40
#   23|   
#   24|-> vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|   pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1410]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:24:39: warning[SC2154]: dev3 is referenced but not assigned.
#   22|   aux prepare_pvs 5 40
#   23|   
#   24|-> vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|   pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1411]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:25:30: warning[SC2154]: dev4 is referenced but not assigned.
#   23|   
#   24|   vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|-> pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1412]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:25:38: warning[SC2154]: dev5 is referenced but not assigned.
#   23|   
#   24|   vgcreate -s 128k $vg "$dev1" "$dev2" "$dev3"
#   25|-> pvcreate --metadatacopies 0 "$dev4" "$dev5"
#   26|   vgextend $vg "$dev4" "$dev5"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1413]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:31:27: warning[SC2154]: lv1 is referenced but not assigned.
#   29|   test_pvmove_resume() {
#   30|   	# Create multisegment LV
#   31|-> 	lvcreate -an -Zn -l50 -n $lv1 $vg "$dev1"
#   32|   	lvextend -l+50 $vg/$lv1 "$dev2"
#   33|   	# next LV on same VG and different PV (we want to test 2 pvmoves per VG)

Error: SHELLCHECK_WARNING (CWE-457): [#def1414]
/usr/share/lvm2-testsuite/shell/pvmove-resume-multiseg.sh:34:27: warning[SC2154]: lv2 is referenced but not assigned.
#   32|   	lvextend -l+50 $vg/$lv1 "$dev2"
#   33|   	# next LV on same VG and different PV (we want to test 2 pvmoves per VG)
#   34|-> 	lvcreate -an -Zn -l50 -n $lv2 $vg "$dev3"
#   35|   
#   36|   	aux delay_dev "$dev4" 0 30 "$(get first_extent_sector "$dev4"):"

Error: SHELLCHECK_WARNING (CWE-563): [#def1415]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works on single PV"
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1416]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description="ensure pvmove works on single PV"
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1417]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:20:23: warning[SC2154]: lv1 is referenced but not assigned.
#   18|   aux prepare_vg 1
#   19|   
#   20|-> lvcreate -aey -l16 -n $lv1 $vg
#   21|   lvcreate -aey -l16 -n $lv2 $vg
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1418]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:20:28: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 1
#   19|   
#   20|-> lvcreate -aey -l16 -n $lv1 $vg
#   21|   lvcreate -aey -l16 -n $lv2 $vg
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1419]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:21:23: warning[SC2154]: lv2 is referenced but not assigned.
#   19|   
#   20|   lvcreate -aey -l16 -n $lv1 $vg
#   21|-> lvcreate -aey -l16 -n $lv2 $vg
#   22|   
#   23|   lvs -ao+seg_pe_ranges $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1420]
/usr/share/lvm2-testsuite/shell/pvmove-single.sh:25:31: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   lvs -ao+seg_pe_ranges $vg
#   24|   
#   25|-> pvmove -i0 --alloc anywhere  "$dev1:12-19" "$dev1"
#   26|   
#   27|   lvs -ao+seg_pe_ranges,seg_size_pe $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1421]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description="ensure pvmove works with thin segment types"
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1422]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description="ensure pvmove works with thin segment types"
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1423]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:27:19: warning[SC2154]: vg is referenced but not assigned.
#   25|   get_devs
#   26|   
#   27|-> vgcreate -s 128k "$vg" "${DEVICES[@]}"
#   28|   
#   29|   for mode in "--atomic" ""

Error: SHELLCHECK_WARNING (CWE-457): [#def1424]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:40:23: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   
#   39|   # Testing pvmove of thin LV
#   40|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   41|   lvcreate -aey -T $vg/${lv1}_pool -l8 -V 8 -n $lv1 "$dev1"
#   42|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1425]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:40:39: warning[SC2154]: dev1 is referenced but not assigned.
#   38|   
#   39|   # Testing pvmove of thin LV
#   40|-> lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   41|   lvcreate -aey -T $vg/${lv1}_pool -l8 -V 8 -n $lv1 "$dev1"
#   42|   check lv_tree_on $vg ${lv1}_foo "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1426]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:45:17: warning[SC2154]: dev5 is referenced but not assigned.
#   43|   check lv_tree_on $vg $lv1 "$dev1"
#   44|   aux mkdev_md5sum $vg $lv1
#   45|-> pvmove "$dev1" "$dev5" $mode
#   46|   check lv_tree_on $vg ${lv1}_foo "$dev5"
#   47|   check lv_tree_on $vg $lv1 "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1427]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:49:25: warning[SC2154]: dev4 is referenced but not assigned.
#   47|   check lv_tree_on $vg $lv1 "$dev5"
#   48|   check dev_md5sum $vg $lv1
#   49|-> pvmove -n $lv1 "$dev5" "$dev4" $mode
#   50|   check lv_tree_on $vg $lv1 "$dev4"
#   51|   check lv_tree_on $vg ${lv1}_foo "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1428]
/usr/share/lvm2-testsuite/shell/pvmove-thin-segtypes.sh:57:72: warning[SC2154]: dev2 is referenced but not assigned.
#   55|   # Testing pvmove of thin LV on RAID
#   56|   lvcreate -aey -l 2 -n ${lv1}_foo $vg "$dev1"
#   57|-> lvcreate -aey --type raid1 -m 1 -l 8 -n ${lv1}_raid1_pool $vg "$dev1" "$dev2"
#   58|   lvcreate -aey --type raid1 -m 1 -L 2 -n ${lv1}_raid1_meta $vg "$dev1" "$dev2"
#   59|   lvconvert --yes --thinpool $vg/${lv1}_raid1_pool \

Error: SHELLCHECK_WARNING (CWE-563): [#def1429]
/usr/share/lvm2-testsuite/shell/pvremove-thin.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1430]
/usr/share/lvm2-testsuite/shell/pvremove-thin.sh:27:23: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   aux extend_filter_LVMTEST
#   26|   
#   27|-> lvcreate -L10 -V10 -n $lv1 -T $vg/pool1
#   28|   
#   29|   aux extend_devices "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1431]
/usr/share/lvm2-testsuite/shell/pvremove-thin.sh:27:31: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux extend_filter_LVMTEST
#   26|   
#   27|-> lvcreate -L10 -V10 -n $lv1 -T $vg/pool1
#   28|   
#   29|   aux extend_devices "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1432]
/usr/share/lvm2-testsuite/shell/pvremove-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1433]
/usr/share/lvm2-testsuite/shell/pvremove-usage.sh:19:11: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 3
#   19|-> pvcreate "$dev1"
#   20|   pvcreate --metadatacopies 0 "$dev2"
#   21|   pvcreate --metadatacopies 2 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1434]
/usr/share/lvm2-testsuite/shell/pvremove-usage.sh:20:30: warning[SC2154]: dev2 is referenced but not assigned.
#   18|   aux prepare_devs 3
#   19|   pvcreate "$dev1"
#   20|-> pvcreate --metadatacopies 0 "$dev2"
#   21|   pvcreate --metadatacopies 2 "$dev3"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1435]
/usr/share/lvm2-testsuite/shell/pvremove-usage.sh:21:30: warning[SC2154]: dev3 is referenced but not assigned.
#   19|   pvcreate "$dev1"
#   20|   pvcreate --metadatacopies 0 "$dev2"
#   21|-> pvcreate --metadatacopies 2 "$dev3"
#   22|   
#   23|   # Fails without give argument

Error: SHELLCHECK_WARNING (CWE-457): [#def1436]
/usr/share/lvm2-testsuite/shell/pvremove-usage.sh:37:18: warning[SC2154]: vg is referenced but not assigned.
#   35|   
#   36|   # check pvremove refuses to remove pv in a vg
#   37|-> vgcreate $SHARED $vg "$dev1" "$dev2"
#   38|   not pvremove "$dev2" "$dev3"
#   39|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1437]
/usr/share/lvm2-testsuite/shell/pvremove-warnings.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1438]
/usr/share/lvm2-testsuite/shell/pvremove-warnings.sh:19:11: warning[SC2154]: dev1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 2
#   19|-> pvcreate "$dev1" "$dev2"
#   20|   pvremove "$dev1" "$dev2" 2>&1 | tee pvremove.txt
#   21|   not grep "No physical" pvremove.txt

Error: SHELLCHECK_WARNING (CWE-457): [#def1439]
/usr/share/lvm2-testsuite/shell/pvremove-warnings.sh:19:19: warning[SC2154]: dev2 is referenced but not assigned.
#   17|   
#   18|   aux prepare_devs 2
#   19|-> pvcreate "$dev1" "$dev2"
#   20|   pvremove "$dev1" "$dev2" 2>&1 | tee pvremove.txt
#   21|   not grep "No physical" pvremove.txt

Error: SHELLCHECK_WARNING (CWE-563): [#def1440]
/usr/share/lvm2-testsuite/shell/pvresize-mdas.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1441]
/usr/share/lvm2-testsuite/shell/pvresize-mdas.sh:20:57: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_devs 1 8
#   19|   
#   20|-> pvcreate --setphysicalvolumesize 8m --metadatacopies 2 "$dev1"
#   21|   check pv_field "$dev1" pv_size 8.00m
#   22|   check pv_field "$dev1" pv_mda_count 2

Error: SHELLCHECK_WARNING (CWE-563): [#def1442]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-457): [#def1443]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:40:10: warning[SC2154]: vg1 is referenced but not assigned.
#   38|   grep "Ignoring pvscan" out
#   39|   
#   40|-> vgcreate $vg1 "$dev1" "$dev2"
#   41|   lvcreate -n $lv1 -l 4 -a n $vg1
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1444]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:40:16: warning[SC2154]: dev1 is referenced but not assigned.
#   38|   grep "Ignoring pvscan" out
#   39|   
#   40|-> vgcreate $vg1 "$dev1" "$dev2"
#   41|   lvcreate -n $lv1 -l 4 -a n $vg1
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1445]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:40:24: warning[SC2154]: dev2 is referenced but not assigned.
#   38|   grep "Ignoring pvscan" out
#   39|   
#   40|-> vgcreate $vg1 "$dev1" "$dev2"
#   41|   lvcreate -n $lv1 -l 4 -a n $vg1
#   42|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1446]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:41:13: warning[SC2154]: lv1 is referenced but not assigned.
#   39|   
#   40|   vgcreate $vg1 "$dev1" "$dev2"
#   41|-> lvcreate -n $lv1 -l 4 -a n $vg1
#   42|   
#   43|   test -d "$PVS_ONLINE_DIR" || mkdir -p "$PVS_ONLINE_DIR"

Error: SHELLCHECK_WARNING (CWE-457): [#def1447]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:128:11: warning[SC2154]: dev3 is referenced but not assigned.
#  126|   # pvscan cache ignores pv that's not used
#  127|   
#  128|-> pvcreate "$dev3"
#  129|   
#  130|   PVID3=$(pvs "$dev3" --noheading -o uuid | tr -d - | awk '{print $1}')

Error: SHELLCHECK_WARNING (CWE-457): [#def1448]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:149:10: warning[SC2154]: vg2 is referenced but not assigned.
#  147|   _clear_online_files
#  148|   
#  149|-> vgcreate $vg2 "$dev3"
#  150|   lvcreate -an -n $lv2 -l1 $vg2
#  151|   pvscan --cache -aay "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1449]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:150:17: warning[SC2154]: lv2 is referenced but not assigned.
#  148|   
#  149|   vgcreate $vg2 "$dev3"
#  150|-> lvcreate -an -n $lv2 -l1 $vg2
#  151|   pvscan --cache -aay "$dev3"
#  152|   ls "$RUNDIR/lvm/pvs_online/$PVID3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1450]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:193:30: warning[SC2154]: dev4 is referenced but not assigned.
#  191|   # get a final PV without metadata.
#  192|   
#  193|-> pvcreate --metadatacopies 0 "$dev4"
#  194|   pvcreate --metadatacopies 0 "$dev5"
#  195|   pvcreate --metadatacopies 1 "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1451]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:194:30: warning[SC2154]: dev5 is referenced but not assigned.
#  192|   
#  193|   pvcreate --metadatacopies 0 "$dev4"
#  194|-> pvcreate --metadatacopies 0 "$dev5"
#  195|   pvcreate --metadatacopies 1 "$dev6"
#  196|   pvcreate --metadatacopies 0 "$dev7"

Error: SHELLCHECK_WARNING (CWE-457): [#def1452]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:195:30: warning[SC2154]: dev6 is referenced but not assigned.
#  193|   pvcreate --metadatacopies 0 "$dev4"
#  194|   pvcreate --metadatacopies 0 "$dev5"
#  195|-> pvcreate --metadatacopies 1 "$dev6"
#  196|   pvcreate --metadatacopies 0 "$dev7"
#  197|   pvcreate --metadatacopies 0 "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def1453]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:196:30: warning[SC2154]: dev7 is referenced but not assigned.
#  194|   pvcreate --metadatacopies 0 "$dev5"
#  195|   pvcreate --metadatacopies 1 "$dev6"
#  196|-> pvcreate --metadatacopies 0 "$dev7"
#  197|   pvcreate --metadatacopies 0 "$dev8"
#  198|   vgcreate $vg3 "$dev4" "$dev5" "$dev6" "$dev7" "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def1454]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:197:30: warning[SC2154]: dev8 is referenced but not assigned.
#  195|   pvcreate --metadatacopies 1 "$dev6"
#  196|   pvcreate --metadatacopies 0 "$dev7"
#  197|-> pvcreate --metadatacopies 0 "$dev8"
#  198|   vgcreate $vg3 "$dev4" "$dev5" "$dev6" "$dev7" "$dev8"
#  199|   lvcreate -n $lv1 -l 4 -a n $vg3

Error: SHELLCHECK_WARNING (CWE-457): [#def1455]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivate.sh:198:10: warning[SC2154]: vg3 is referenced but not assigned.
#  196|   pvcreate --metadatacopies 0 "$dev7"
#  197|   pvcreate --metadatacopies 0 "$dev8"
#  198|-> vgcreate $vg3 "$dev4" "$dev5" "$dev6" "$dev7" "$dev8"
#  199|   lvcreate -n $lv1 -l 4 -a n $vg3
#  200|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1456]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivation-polling.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1457]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivation-polling.sh:54:10: warning[SC2154]: vg1 is referenced but not assigned.
#   52|   aux lvmconf "global/event_activation = 1"
#   53|   
#   54|-> vgcreate $vg1 "$dev1"
#   55|   mkdir test_mnt
#   56|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1458]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivation-polling.sh:54:16: warning[SC2154]: dev1 is referenced but not assigned.
#   52|   aux lvmconf "global/event_activation = 1"
#   53|   
#   54|-> vgcreate $vg1 "$dev1"
#   55|   mkdir test_mnt
#   56|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1459]
/usr/share/lvm2-testsuite/shell/pvscan-autoactivation-polling.sh:57:19: warning[SC2154]: lv1 is referenced but not assigned.
#   55|   mkdir test_mnt
#   56|   
#   57|-> setup_merge_ $vg1 $lv1
#   58|   mount "$(lvdev_ $vg1 $lv1)" test_mnt
#   59|   lvconvert --merge "$vg1/$(snap_lv_name_ "$lv1")"

Error: SHELLCHECK_WARNING (CWE-563): [#def1460]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1461]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-457): [#def1462]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:32:10: warning[SC2154]: vg1 is referenced but not assigned.
#   30|   aux prepare_pvs 2
#   31|   
#   32|-> vgcreate $vg1 "$dev1" "$dev2"
#   33|   vgs | grep $vg1
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1463]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:32:16: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   aux prepare_pvs 2
#   31|   
#   32|-> vgcreate $vg1 "$dev1" "$dev2"
#   33|   vgs | grep $vg1
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1464]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:32:24: warning[SC2154]: dev2 is referenced but not assigned.
#   30|   aux prepare_pvs 2
#   31|   
#   32|-> vgcreate $vg1 "$dev1" "$dev2"
#   33|   vgs | grep $vg1
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1465]
/usr/share/lvm2-testsuite/shell/pvscan-cache.sh:40:13: warning[SC2154]: lv1 is referenced but not assigned.
#   38|   
#   39|   # Check that an LV cannot be activated by lvchange while VG is exported
#   40|-> lvcreate -n $lv1 -l 4 -a n $vg1
#   41|   check lv_exists $vg1
#   42|   vgexport $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1466]
/usr/share/lvm2-testsuite/shell/pvscan-nomda-bg.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1467]
/usr/share/lvm2-testsuite/shell/pvscan-nomda-bg.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1468]
/usr/share/lvm2-testsuite/shell/pvscan-nomda-bg.sh:20:30: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_devs 2
#   19|   
#   20|-> pvcreate --metadatacopies 0 "$dev1"
#   21|   pvcreate --metadatacopies 1 "$dev2"
#   22|   vgcreate $vg1 "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1469]
/usr/share/lvm2-testsuite/shell/pvscan-nomda-bg.sh:21:30: warning[SC2154]: dev2 is referenced but not assigned.
#   19|   
#   20|   pvcreate --metadatacopies 0 "$dev1"
#   21|-> pvcreate --metadatacopies 1 "$dev2"
#   22|   vgcreate $vg1 "$dev1" "$dev2"
#   23|   lvcreate -n foo -l 1 -an --zero n $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1470]
/usr/share/lvm2-testsuite/shell/pvscan-nomda-bg.sh:22:10: warning[SC2154]: vg1 is referenced but not assigned.
#   20|   pvcreate --metadatacopies 0 "$dev1"
#   21|   pvcreate --metadatacopies 1 "$dev2"
#   22|-> vgcreate $vg1 "$dev1" "$dev2"
#   23|   lvcreate -n foo -l 1 -an --zero n $vg1
#   24|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1471]
/usr/share/lvm2-testsuite/shell/read-ahead.sh:17:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   15|   #
#   16|   
#   17|-> test_description='Test read-ahead functionality'
#   18|   
#   19|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1472]
/usr/share/lvm2-testsuite/shell/read-ahead.sh:19:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   17|   test_description='Test read-ahead functionality'
#   18|   
#   19|-> SKIP_WITH_LVMPOLLD=1
#   20|   
#   21|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1473]
/usr/share/lvm2-testsuite/shell/read-ahead.sh:26:35: warning[SC2154]: lv is referenced but not assigned.
#   24|   
#   25|   #COMM "test various read ahead settings (bz450922)"
#   26|-> lvcreate -l 100%FREE -i5 -I512 -n $lv $vg
#   27|   ra=$(get lv_field $vg/$lv lv_kernel_read_ahead --units s --nosuffix)
#   28|   test $(( ( ra / 5 ) * 5 )) -le $ra

Error: SHELLCHECK_WARNING (CWE-457): [#def1474]
/usr/share/lvm2-testsuite/shell/read-ahead.sh:26:39: warning[SC2154]: vg is referenced but not assigned.
#   24|   
#   25|   #COMM "test various read ahead settings (bz450922)"
#   26|-> lvcreate -l 100%FREE -i5 -I512 -n $lv $vg
#   27|   ra=$(get lv_field $vg/$lv lv_kernel_read_ahead --units s --nosuffix)
#   28|   test $(( ( ra / 5 ) * 5 )) -le $ra

Error: SHELLCHECK_WARNING (CWE-457): [#def1475]
/usr/share/lvm2-testsuite/shell/read-ahead.sh:36:23: warning[SC2154]: dev1 is referenced but not assigned.
#   34|   
#   35|   #COMM "read ahead is properly inherited from underlying PV"
#   36|-> blockdev --setra 768 "$dev1"
#   37|   vgscan
#   38|   # is there something in the system changing readahead settings behind the scene...

Error: SHELLCHECK_WARNING (CWE-563): [#def1476]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise toollib process_each_lv'
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1477]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description='Exercise toollib process_each_lv'
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1478]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:20:17: warning[SC2154]: lv1 is referenced but not assigned.
#   18|   aux prepare_vg 1 256
#   19|   
#   20|-> lvcreate -an -n $lv1 -l4 $vg
#   21|   lvcreate -an -n $lv2 -L4 $vg
#   22|   lvcreate -an -n $lv3 -l+4 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1479]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:20:26: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 1 256
#   19|   
#   20|-> lvcreate -an -n $lv1 -l4 $vg
#   21|   lvcreate -an -n $lv2 -L4 $vg
#   22|   lvcreate -an -n $lv3 -l+4 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1480]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:21:17: warning[SC2154]: lv2 is referenced but not assigned.
#   19|   
#   20|   lvcreate -an -n $lv1 -l4 $vg
#   21|-> lvcreate -an -n $lv2 -L4 $vg
#   22|   lvcreate -an -n $lv3 -l+4 $vg
#   23|   lvcreate -an -n $lv4 -L+4 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1481]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:22:17: warning[SC2154]: lv3 is referenced but not assigned.
#   20|   lvcreate -an -n $lv1 -l4 $vg
#   21|   lvcreate -an -n $lv2 -L4 $vg
#   22|-> lvcreate -an -n $lv3 -l+4 $vg
#   23|   lvcreate -an -n $lv4 -L+4 $vg
#   24|   not lvcreate -n $lv5 -l-4 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1482]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:23:17: warning[SC2154]: lv4 is referenced but not assigned.
#   21|   lvcreate -an -n $lv2 -L4 $vg
#   22|   lvcreate -an -n $lv3 -l+4 $vg
#   23|-> lvcreate -an -n $lv4 -L+4 $vg
#   24|   not lvcreate -n $lv5 -l-4 $vg
#   25|   not lvcreate -n $lv5 -L-4 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1483]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:24:17: warning[SC2154]: lv5 is referenced but not assigned.
#   22|   lvcreate -an -n $lv3 -l+4 $vg
#   23|   lvcreate -an -n $lv4 -L+4 $vg
#   24|-> not lvcreate -n $lv5 -l-4 $vg
#   25|   not lvcreate -n $lv5 -L-4 $vg
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1484]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:58:17: warning[SC2154]: lv6 is referenced but not assigned.
#   56|   # relative with percent extents
#   57|   
#   58|-> lvcreate -an -n $lv6 -l+100%FREE $vg
#   59|   lvremove $vg/$lv6
#   60|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1485]
/usr/share/lvm2-testsuite/shell/relative-sign-options.sh:71:57: warning[SC2154]: lv7 is referenced but not assigned.
#   69|   if aux have_thin 1 0 0 ; then
#   70|   # relative poolmetadatasize
#   71|-> lvcreate --type thin-pool -L64 --poolmetadatasize 32 -n $lv7 $vg
#   72|   lvresize --poolmetadatasize 64 $vg/$lv7
#   73|   lvresize --poolmetadatasize +8 $vg/$lv7

Error: SHELLCHECK_WARNING (CWE-563): [#def1486]
/usr/share/lvm2-testsuite/shell/report-fields.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1487]
/usr/share/lvm2-testsuite/shell/report-fields.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1488]
/usr/share/lvm2-testsuite/shell/report-format.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1489]
/usr/share/lvm2-testsuite/shell/report-format.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1490]
/usr/share/lvm2-testsuite/shell/report-format.sh:25:17: warning[SC2154]: vg is referenced but not assigned.
#   23|   OUT_LOG_FILE="out"
#   24|   
#   25|-> lvcreate -l1 -T $vg/$lv1
#   26|   lvcreate -l1 -n $lv2 --addtag lv_tag1 -an $vg
#   27|   lvcreate -l1 -n $lv3 --addtag lv_tag3 --addtag lv_tag1 --addtag lv_tag2 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1491]
/usr/share/lvm2-testsuite/shell/report-format.sh:25:21: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   OUT_LOG_FILE="out"
#   24|   
#   25|-> lvcreate -l1 -T $vg/$lv1
#   26|   lvcreate -l1 -n $lv2 --addtag lv_tag1 -an $vg
#   27|   lvcreate -l1 -n $lv3 --addtag lv_tag3 --addtag lv_tag1 --addtag lv_tag2 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1492]
/usr/share/lvm2-testsuite/shell/report-format.sh:26:17: warning[SC2154]: lv2 is referenced but not assigned.
#   24|   
#   25|   lvcreate -l1 -T $vg/$lv1
#   26|-> lvcreate -l1 -n $lv2 --addtag lv_tag1 -an $vg
#   27|   lvcreate -l1 -n $lv3 --addtag lv_tag3 --addtag lv_tag1 --addtag lv_tag2 $vg
#   28|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1493]
/usr/share/lvm2-testsuite/shell/report-format.sh:27:17: warning[SC2154]: lv3 is referenced but not assigned.
#   25|   lvcreate -l1 -T $vg/$lv1
#   26|   lvcreate -l1 -n $lv2 --addtag lv_tag1 -an $vg
#   27|-> lvcreate -l1 -n $lv3 --addtag lv_tag3 --addtag lv_tag1 --addtag lv_tag2 $vg
#   28|   
#   29|   check_json_vs_log() {

Error: SHELLCHECK_WARNING (CWE-563): [#def1494]
/usr/share/lvm2-testsuite/shell/report-headings.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1495]
/usr/share/lvm2-testsuite/shell/report-headings.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1496]
/usr/share/lvm2-testsuite/shell/report-hidden.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1497]
/usr/share/lvm2-testsuite/shell/report-hidden.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1498]
/usr/share/lvm2-testsuite/shell/report-hidden.sh:19:52: warning[SC2154]: lv1 is referenced but not assigned.
#   17|   
#   18|   aux prepare_vg 1
#   19|-> lvcreate --type mirror -m1 -l1 --alloc anywhere -n $lv1 $vg
#   20|   
#   21|   aux lvmconf 'log/prefix=""'

Error: SHELLCHECK_WARNING (CWE-457): [#def1499]
/usr/share/lvm2-testsuite/shell/report-hidden.sh:19:57: warning[SC2154]: vg is referenced but not assigned.
#   17|   
#   18|   aux prepare_vg 1
#   19|-> lvcreate --type mirror -m1 -l1 --alloc anywhere -n $lv1 $vg
#   20|   
#   21|   aux lvmconf 'log/prefix=""'

Error: SHELLCHECK_WARNING (CWE-563): [#def1500]
/usr/share/lvm2-testsuite/shell/scan-lvs.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   # Test scan_lvs config setting
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1501]
/usr/share/lvm2-testsuite/shell/scan-lvs.sh:23:18: warning[SC2154]: vg1 is referenced but not assigned.
#   21|   aux prepare_pvs 1
#   22|   
#   23|-> vgcreate $SHARED $vg1 "$dev1"
#   24|   
#   25|   lvcreate -l1 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1502]
/usr/share/lvm2-testsuite/shell/scan-lvs.sh:23:24: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   aux prepare_pvs 1
#   22|   
#   23|-> vgcreate $SHARED $vg1 "$dev1"
#   24|   
#   25|   lvcreate -l1 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1503]
/usr/share/lvm2-testsuite/shell/scan-lvs.sh:25:17: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   vgcreate $SHARED $vg1 "$dev1"
#   24|   
#   25|-> lvcreate -l1 -n $lv1 $vg1
#   26|   
#   27|   aux extend_devices "$DM_DEV_DIR/$vg1/$lv1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1504]
/usr/share/lvm2-testsuite/shell/select-report.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1505]
/usr/share/lvm2-testsuite/shell/select-report.sh:26:18: warning[SC2154]: vg1 is referenced but not assigned.
#   24|   
#   25|   # create $VGS with assorted tags
#   26|-> vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1506]
/usr/share/lvm2-testsuite/shell/select-report.sh:26:89: warning[SC2154]: dev1 is referenced but not assigned.
#   24|   
#   25|   # create $VGS with assorted tags
#   26|-> vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1507]
/usr/share/lvm2-testsuite/shell/select-report.sh:26:97: warning[SC2154]: dev2 is referenced but not assigned.
#   24|   
#   25|   # create $VGS with assorted tags
#   26|-> vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1508]
/usr/share/lvm2-testsuite/shell/select-report.sh:26:105: warning[SC2154]: dev3 is referenced but not assigned.
#   24|   
#   25|   # create $VGS with assorted tags
#   26|-> vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"

Error: SHELLCHECK_WARNING (CWE-457): [#def1509]
/usr/share/lvm2-testsuite/shell/select-report.sh:27:18: warning[SC2154]: vg2 is referenced but not assigned.
#   25|   # create $VGS with assorted tags
#   26|   vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|-> vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1510]
/usr/share/lvm2-testsuite/shell/select-report.sh:27:49: warning[SC2154]: dev4 is referenced but not assigned.
#   25|   # create $VGS with assorted tags
#   26|   vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|-> vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1511]
/usr/share/lvm2-testsuite/shell/select-report.sh:27:57: warning[SC2154]: dev5 is referenced but not assigned.
#   25|   # create $VGS with assorted tags
#   26|   vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|-> vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|   vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1512]
/usr/share/lvm2-testsuite/shell/select-report.sh:28:18: warning[SC2154]: vg3 is referenced but not assigned.
#   26|   vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|-> vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"
#   29|   
#   30|   # add PV assorted tags

Error: SHELLCHECK_WARNING (CWE-457): [#def1513]
/usr/share/lvm2-testsuite/shell/select-report.sh:28:49: warning[SC2154]: dev6 is referenced but not assigned.
#   26|   vgcreate $SHARED $vg1 --vgmetadatacopies 2 --addtag "vg_tag3" --addtag "vg_tag2" -s 4m "$dev1" "$dev2" "$dev3"
#   27|   vgcreate $SHARED $vg2 --addtag "vg_tag2" -s 4m "$dev4" "$dev5"
#   28|-> vgcreate $SHARED $vg3 --addtag "vg_tag1" -s 4m "$dev6"
#   29|   
#   30|   # add PV assorted tags

Error: SHELLCHECK_WARNING (CWE-563): [#def1514]
/usr/share/lvm2-testsuite/shell/select-tools-thin.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1515]
/usr/share/lvm2-testsuite/shell/select-tools-thin.sh:33:24: warning[SC2154]: vg1 is referenced but not assigned.
#   31|   # first, but thin snap should be still selectable based on origin=thin_orig
#   32|   # condition even though thin_orig has just been removed)
#   33|-> vgcreate $SHARED -s 4m $vg1 "$dev1"
#   34|   lvcreate -l100%FREE -T $vg1/pool
#   35|   lvcreate -V4m -T $vg1/pool -n thin_orig

Error: SHELLCHECK_WARNING (CWE-457): [#def1516]
/usr/share/lvm2-testsuite/shell/select-tools-thin.sh:33:30: warning[SC2154]: dev1 is referenced but not assigned.
#   31|   # first, but thin snap should be still selectable based on origin=thin_orig
#   32|   # condition even though thin_orig has just been removed)
#   33|-> vgcreate $SHARED -s 4m $vg1 "$dev1"
#   34|   lvcreate -l100%FREE -T $vg1/pool
#   35|   lvcreate -V4m -T $vg1/pool -n thin_orig

Error: SHELLCHECK_WARNING (CWE-563): [#def1517]
/usr/share/lvm2-testsuite/shell/select-tools.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1518]
/usr/share/lvm2-testsuite/shell/select-tools.sh:20:24: warning[SC2154]: vg1 is referenced but not assigned.
#   18|   aux prepare_pvs 4 12
#   19|   
#   20|-> vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|   vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1519]
/usr/share/lvm2-testsuite/shell/select-tools.sh:20:30: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_pvs 4 12
#   19|   
#   20|-> vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|   vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1520]
/usr/share/lvm2-testsuite/shell/select-tools.sh:20:38: warning[SC2154]: dev2 is referenced but not assigned.
#   18|   aux prepare_pvs 4 12
#   19|   
#   20|-> vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|   vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1521]
/usr/share/lvm2-testsuite/shell/select-tools.sh:21:24: warning[SC2154]: vg2 is referenced but not assigned.
#   19|   
#   20|   vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|-> vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   
#   23|   # vg1/lv1 mapped onto dev1

Error: SHELLCHECK_WARNING (CWE-457): [#def1522]
/usr/share/lvm2-testsuite/shell/select-tools.sh:21:30: warning[SC2154]: dev3 is referenced but not assigned.
#   19|   
#   20|   vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|-> vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   
#   23|   # vg1/lv1 mapped onto dev1

Error: SHELLCHECK_WARNING (CWE-457): [#def1523]
/usr/share/lvm2-testsuite/shell/select-tools.sh:21:38: warning[SC2154]: dev4 is referenced but not assigned.
#   19|   
#   20|   vgcreate $SHARED -s 4m $vg1 "$dev1" "$dev2"
#   21|-> vgcreate $SHARED -s 4m $vg2 "$dev3" "$dev4"
#   22|   
#   23|   # vg1/lv1 mapped onto dev1

Error: SHELLCHECK_WARNING (CWE-563): [#def1524]
/usr/share/lvm2-testsuite/shell/snapshot-autoumount-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1525]
/usr/share/lvm2-testsuite/shell/snapshot-autoumount-dmeventd.sh:29:27: warning[SC2154]: vg is referenced but not assigned.
#   27|   mntdir="${PREFIX}mnt"
#   28|   
#   29|-> lvcreate -aey -L8 -n base $vg
#   30|   mkfs.ext2 "$DM_DEV_DIR/$vg/base"
#   31|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1526]
/usr/share/lvm2-testsuite/shell/snapshot-autoumount-dmeventd.sh:50:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   48|   # take a while to finalize umount operation (it might be already
#   49|   # removed from /proc/mounts, but still opened).
#   50|-> for i in {1..100}; do
#   51|   	sleep .1
#   52|   	test "$(dmsetup info -c --noheadings -o open $vg-snap)" -eq 0 && break

Error: SHELLCHECK_WARNING (CWE-563): [#def1527]
/usr/share/lvm2-testsuite/shell/snapshot-cluster.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1528]
/usr/share/lvm2-testsuite/shell/snapshot-cluster.sh:23:22: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   aux prepare_vg 1
#   22|   
#   23|-> lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename  $vg/$lv2 $vg/$lv3

Error: SHELLCHECK_WARNING (CWE-457): [#def1529]
/usr/share/lvm2-testsuite/shell/snapshot-cluster.sh:23:27: warning[SC2154]: vg is referenced but not assigned.
#   21|   aux prepare_vg 1
#   22|   
#   23|-> lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename  $vg/$lv2 $vg/$lv3

Error: SHELLCHECK_WARNING (CWE-457): [#def1530]
/usr/share/lvm2-testsuite/shell/snapshot-cluster.sh:24:20: warning[SC2154]: lv2 is referenced but not assigned.
#   22|   
#   23|   lvcreate -aey -L1 -n $lv1 $vg
#   24|-> lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename  $vg/$lv2 $vg/$lv3
#   26|   lvremove -f $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1531]
/usr/share/lvm2-testsuite/shell/snapshot-cluster.sh:25:24: warning[SC2154]: lv3 is referenced but not assigned.
#   23|   lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|-> lvrename  $vg/$lv2 $vg/$lv3
#   26|   lvremove -f $vg/$lv1
#   27|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1532]
/usr/share/lvm2-testsuite/shell/snapshot-maxsize.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1533]
/usr/share/lvm2-testsuite/shell/snapshot-maxsize.sh:24:25: warning[SC2154]: vg is referenced but not assigned.
#   22|   get_devs
#   23|   
#   24|-> vgcreate $SHARED -s 4K "$vg" "${DEVICES[@]}"
#   25|   
#   26|   lvcreate -aey -L1 -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1534]
/usr/share/lvm2-testsuite/shell/snapshot-maxsize.sh:26:22: warning[SC2154]: lv1 is referenced but not assigned.
#   24|   vgcreate $SHARED -s 4K "$vg" "${DEVICES[@]}"
#   25|   
#   26|-> lvcreate -aey -L1 -n $lv1 $vg
#   27|   # Snapshot should be large enough to handle any writes
#   28|   lvcreate -L2 -s $vg/$lv1 -n $lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def1535]
/usr/share/lvm2-testsuite/shell/snapshot-maxsize.sh:28:29: warning[SC2154]: lv2 is referenced but not assigned.
#   26|   lvcreate -aey -L1 -n $lv1 $vg
#   27|   # Snapshot should be large enough to handle any writes
#   28|-> lvcreate -L2 -s $vg/$lv1 -n $lv2
#   29|   
#   30|   dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv2" bs=1M count=1 oflag=direct

Error: SHELLCHECK_WARNING (CWE-457): [#def1536]
/usr/share/lvm2-testsuite/shell/snapshot-merge-stack.sh:27:17: warning[SC2154]: lv2 is referenced but not assigned.
#   25|   
#   26|   snap_and_merge() {
#   27|-> 	lvcreate -s -n $lv2 -L20 $vg/$lv1 "$dev2"
#   28|   	#dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=10 conv=fdatasync
#   29|   	aux udev_wait

Error: SHELLCHECK_WARNING (CWE-457): [#def1537]
/usr/share/lvm2-testsuite/shell/snapshot-merge-stack.sh:27:27: warning[SC2154]: vg is referenced but not assigned.
#   25|   
#   26|   snap_and_merge() {
#   27|-> 	lvcreate -s -n $lv2 -L20 $vg/$lv1 "$dev2"
#   28|   	#dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=10 conv=fdatasync
#   29|   	aux udev_wait

Error: SHELLCHECK_WARNING (CWE-457): [#def1538]
/usr/share/lvm2-testsuite/shell/snapshot-merge-stack.sh:27:31: warning[SC2154]: lv1 is referenced but not assigned.
#   25|   
#   26|   snap_and_merge() {
#   27|-> 	lvcreate -s -n $lv2 -L20 $vg/$lv1 "$dev2"
#   28|   	#dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=10 conv=fdatasync
#   29|   	aux udev_wait

Error: SHELLCHECK_WARNING (CWE-457): [#def1539]
/usr/share/lvm2-testsuite/shell/snapshot-merge-stack.sh:27:37: warning[SC2154]: dev2 is referenced but not assigned.
#   25|   
#   26|   snap_and_merge() {
#   27|-> 	lvcreate -s -n $lv2 -L20 $vg/$lv1 "$dev2"
#   28|   	#dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=10 conv=fdatasync
#   29|   	aux udev_wait

Error: SHELLCHECK_WARNING (CWE-457): [#def1540]
/usr/share/lvm2-testsuite/shell/snapshot-merge-stack.sh:44:17: warning[SC2154]: dev1 is referenced but not assigned.
#   42|   	kill $SLEEP_PID
#   43|   
#   44|-> 	aux delay_dev "$dev1"  0 200 "$(get first_extent_sector "$dev1"):"
#   45|   	lvchange --poll n --refresh $vg/$lv1
#   46|   	dmsetup table

Error: SHELLCHECK_WARNING (CWE-457): [#def1541]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:24:24: warning[SC2154]: lv1 is referenced but not assigned.
#   22|   aux prepare_vg 2
#   23|   
#   24|-> lvcreate -T -L1 -V1 -n $lv1 $vg/pool "$dev1"
#   25|   lvcreate -s -n $lv2 $vg/$lv1
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1542]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:24:29: warning[SC2154]: vg is referenced but not assigned.
#   22|   aux prepare_vg 2
#   23|   
#   24|-> lvcreate -T -L1 -V1 -n $lv1 $vg/pool "$dev1"
#   25|   lvcreate -s -n $lv2 $vg/$lv1
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1543]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:24:39: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   aux prepare_vg 2
#   23|   
#   24|-> lvcreate -T -L1 -V1 -n $lv1 $vg/pool "$dev1"
#   25|   lvcreate -s -n $lv2 $vg/$lv1
#   26|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1544]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:25:16: warning[SC2154]: lv2 is referenced but not assigned.
#   23|   
#   24|   lvcreate -T -L1 -V1 -n $lv1 $vg/pool "$dev1"
#   25|-> lvcreate -s -n $lv2 $vg/$lv1
#   26|   
#   27|   # Take also thick snapshot of thin snapshot

Error: SHELLCHECK_WARNING (CWE-457): [#def1545]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:28:20: warning[SC2154]: lv3 is referenced but not assigned.
#   26|   
#   27|   # Take also thick snapshot of thin snapshot
#   28|-> lvcreate -s -L1 -n $lv3 $vg/$lv2
#   29|   
#   30|   sleep 10 < "$DM_DEV_DIR/$vg/$lv1" >/dev/null 2>&1 &

Error: SHELLCHECK_WARNING (CWE-398): [#def1546]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:30:1: warning[SC2217]: Redirecting to 'sleep', a command that doesn't read stdin. Bad quoting, wrong command or missing xargs?
#   28|   lvcreate -s -L1 -n $lv3 $vg/$lv2
#   29|   
#   30|-> sleep 10 < "$DM_DEV_DIR/$vg/$lv1" >/dev/null 2>&1 &
#   31|   PID_SLEEP=$!
#   32|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1547]
/usr/share/lvm2-testsuite/shell/snapshot-merge-thin.sh:48:35: warning[SC2154]: dev2 is referenced but not assigned.
#   46|   # Create again pool with thin and thick snapshot
#   47|   lvcreate -T -L1 -V1 -n $lv1 $vg/pool "$dev1"
#   48|-> lvcreate -s -n $lv2 -L2 $vg/$lv1 "$dev2"
#   49|   dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv2" bs=1M count=1 oflag=direct
#   50|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1548]
/usr/share/lvm2-testsuite/shell/snapshot-merge.sh:53:14: warning[SC2154]: vg is referenced but not assigned.
#   51|   
#   52|   # test full merge of a single LV
#   53|-> setup_merge_ $vg $lv1
#   54|   
#   55|   # make sure lvconvert --merge requires explicit LV listing

Error: SHELLCHECK_WARNING (CWE-457): [#def1549]
/usr/share/lvm2-testsuite/shell/snapshot-merge.sh:53:18: warning[SC2154]: lv1 is referenced but not assigned.
#   51|   
#   52|   # test full merge of a single LV
#   53|-> setup_merge_ $vg $lv1
#   54|   
#   55|   # make sure lvconvert --merge requires explicit LV listing

Error: SHELLCHECK_WARNING (CWE-457): [#def1550]
/usr/share/lvm2-testsuite/shell/snapshot-merge.sh:130:18: warning[SC2154]: lv2 is referenced but not assigned.
#  128|   # test merging multiple snapshots that share the same tag
#  129|   setup_merge_ $vg $lv1
#  130|-> setup_merge_ $vg $lv2
#  131|   lvchange --addtag this_is_a_test "$vg/$(snap_lv_name_ "$lv1")"
#  132|   lvchange --addtag this_is_a_test "$vg/$(snap_lv_name_ "$lv2")"

Error: SHELLCHECK_WARNING (CWE-563): [#def1551]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test snapshots of raid
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1552]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:31:25: warning[SC2154]: vg is referenced but not assigned.
#   29|   
#   30|   test_add_del_snap() {
#   31|-> 	mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
#   32|   
#   33|   	mount "$DM_DEV_DIR/$vg/$lv1" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def1553]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:31:29: warning[SC2154]: lv1 is referenced but not assigned.
#   29|   
#   30|   test_add_del_snap() {
#   31|-> 	mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"
#   32|   
#   33|   	mount "$DM_DEV_DIR/$vg/$lv1" "$mount_dir"

Error: SHELLCHECK_WARNING (CWE-457): [#def1554]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:36:38: warning[SC2154]: dev3 is referenced but not assigned.
#   34|   	touch "$mount_dir/A"
#   35|   
#   36|-> 	lvcreate -s -n snap -L12M $vg/$lv1 "$dev3"
#   37|   	mount "$DM_DEV_DIR/$vg/snap" "$snap_dir"
#   38|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1555]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:59:19: warning[SC2154]: dev1 is referenced but not assigned.
#   57|   	touch "$mount_dir/A"
#   58|   
#   59|-> 	aux disable_dev "$dev1"
#   60|   	lvs -a -o+devices $vg
#   61|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1556]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:128:30: warning[SC2154]: dev4 is referenced but not assigned.
#  126|   	touch "$snap_dir/C"
#  127|   
#  128|-> 	lvconvert -y -m+1 $vg/$lv1 "$dev4"
#  129|   	aux wait_for_sync $vg $lv1
#  130|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1557]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:169:43: warning[SC2154]: dev5 is referenced but not assigned.
#  167|   	touch "$snap_dir/C"
#  168|   
#  169|-> 	lvconvert -y --replace "$dev4" $vg/$lv1 "$dev5"
#  170|   	aux wait_for_sync $vg $lv1
#  171|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1558]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:264:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#  262|   	umount "$mount_dir"
#  263|   
#  264|-> 	for i in $(seq 1 10); do
#  265|   		# Wait tiil snapshot is surely merged
#  266|   		dmsetup info $vg-snap || break

Error: SHELLCHECK_WARNING (CWE-457): [#def1559]
/usr/share/lvm2-testsuite/shell/snapshot-raid.sh:319:31: warning[SC2154]: dev2 is referenced but not assigned.
#  317|   aux prepare_devs 5 200
#  318|   
#  319|-> vgcreate $SHARED $vg "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#  320|   
#  321|   lvcreate --type raid1 -m1 -n $lv1 -L32M $vg "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-563): [#def1560]
/usr/share/lvm2-testsuite/shell/snapshot-reactivate.sh:21:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   19|   
#   20|   
#   21|-> SKIP_WITH_LVMPOLLD=1
#   22|   
#   23|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1561]
/usr/share/lvm2-testsuite/shell/snapshot-reactivate.sh:27:19: warning[SC2154]: vg is referenced but not assigned.
#   25|   # Snapshot should remain unmodified
#   26|   check_s_() {
#   27|-> 	check dev_md5sum $vg s
#   28|   	#diff data "$DM_DEV_DIR/$vg/s"
#   29|   }

Error: SHELLCHECK_WARNING (CWE-563): [#def1562]
/usr/share/lvm2-testsuite/shell/snapshot-remove-dmsetup.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # check if 'dmsetup --noflush' will work properly for mounted snapshot
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1563]
/usr/share/lvm2-testsuite/shell/snapshot-remove-dmsetup.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1564]
/usr/share/lvm2-testsuite/shell/snapshot-remove-dmsetup.sh:25:37: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   
#   24|   # Create stacked device
#   25|-> lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 100M
#   26|   aux lvmconf "devices/scan_lvs = 1"
#   27|   aux extend_filter_LVMTEST

Error: SHELLCHECK_WARNING (CWE-457): [#def1565]
/usr/share/lvm2-testsuite/shell/snapshot-remove-dmsetup.sh:25:42: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   # Create stacked device
#   25|-> lvcreate --type snapshot -s -L10 -n $lv1 $vg --virtualsize 100M
#   26|   aux lvmconf "devices/scan_lvs = 1"
#   27|   aux extend_filter_LVMTEST

Error: SHELLCHECK_WARNING (CWE-457): [#def1566]
/usr/share/lvm2-testsuite/shell/snapshot-remove-dmsetup.sh:29:10: warning[SC2154]: vg1 is referenced but not assigned.
#   27|   aux extend_filter_LVMTEST
#   28|   aux extend_devices "$DM_DEV_DIR"/$vg/$lv1
#   29|-> vgcreate $vg1 "$DM_DEV_DIR"/$vg/$lv1
#   30|   
#   31|   lvcreate -L20 -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1567]
/usr/share/lvm2-testsuite/shell/snapshot-rename.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1568]
/usr/share/lvm2-testsuite/shell/snapshot-rename.sh:23:22: warning[SC2154]: lv1 is referenced but not assigned.
#   21|   aux prepare_vg 1
#   22|   
#   23|-> lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename $vg/$lv2 $vg/$lv3

Error: SHELLCHECK_WARNING (CWE-457): [#def1569]
/usr/share/lvm2-testsuite/shell/snapshot-rename.sh:23:27: warning[SC2154]: vg is referenced but not assigned.
#   21|   aux prepare_vg 1
#   22|   
#   23|-> lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename $vg/$lv2 $vg/$lv3

Error: SHELLCHECK_WARNING (CWE-457): [#def1570]
/usr/share/lvm2-testsuite/shell/snapshot-rename.sh:24:20: warning[SC2154]: lv2 is referenced but not assigned.
#   22|   
#   23|   lvcreate -aey -L1 -n $lv1 $vg
#   24|-> lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|   lvrename $vg/$lv2 $vg/$lv3
#   26|   lvremove -f $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1571]
/usr/share/lvm2-testsuite/shell/snapshot-rename.sh:25:23: warning[SC2154]: lv3 is referenced but not assigned.
#   23|   lvcreate -aey -L1 -n $lv1 $vg
#   24|   lvcreate -s -L1 -n $lv2 $vg/$lv1
#   25|-> lvrename $vg/$lv2 $vg/$lv3
#   26|   lvremove -f $vg/$lv1
#   27|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1572]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   # this needs 64bit arch
#   15|   
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1573]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1574]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:27:17: warning[SC2154]: vg is referenced but not assigned.
#   25|   
#   26|   # Prepare large enough backend device
#   27|-> vgcreate -s 4M "$vg" "${DEVICES[@]}"
#   28|   lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize 15P
#   29|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1575]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:28:44: warning[SC2154]: lv is referenced but not assigned.
#   26|   # Prepare large enough backend device
#   27|   vgcreate -s 4M "$vg" "${DEVICES[@]}"
#   28|-> lvcreate --type snapshot -s -l 100%FREE -n $lv $vg --virtualsize 15P
#   29|   
#   30|   aux lvmconf "devices/scan_lvs = 1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1576]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:36:16: warning[SC2154]: vg1 is referenced but not assigned.
#   34|   # Check usability with largest extent size
#   35|   pvcreate "$DM_DEV_DIR/$vg/$lv"
#   36|-> vgcreate -s 4G $vg1 "$DM_DEV_DIR/$vg/$lv"
#   37|   
#   38|   lvcreate -an -Zn -l50%FREE -n $lv1 $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1577]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:38:31: warning[SC2154]: lv1 is referenced but not assigned.
#   36|   vgcreate -s 4G $vg1 "$DM_DEV_DIR/$vg/$lv"
#   37|   
#   38|-> lvcreate -an -Zn -l50%FREE -n $lv1 $vg1
#   39|   lvcreate -s -l100%FREE -n $lv2 $vg1/$lv1
#   40|   check lv_field $vg1/$lv2 size "7.50p"

Error: SHELLCHECK_WARNING (CWE-457): [#def1578]
/usr/share/lvm2-testsuite/shell/snapshot-usage-exa.sh:39:27: warning[SC2154]: lv2 is referenced but not assigned.
#   37|   
#   38|   lvcreate -an -Zn -l50%FREE -n $lv1 $vg1
#   39|-> lvcreate -s -l100%FREE -n $lv2 $vg1/$lv1
#   40|   check lv_field $vg1/$lv2 size "7.50p"
#   41|   lvremove -ff $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1579]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # no automatic extensions please
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1580]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1581]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:33:15: warning[SC2154]: vg is referenced but not assigned.
#   31|   	wait
#   32|   	vgremove -ff $vg1 || true
#   33|-> 	vgremove -ff $vg
#   34|   	aux teardown
#   35|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def1582]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:65:22: warning[SC2154]: lv is referenced but not assigned.
#   63|   
#   64|   # Play with 1 extent
#   65|-> lvcreate -aey -l1 -n $lv $vg
#   66|   # 100%LV is not supported for snapshot
#   67|   fail lvcreate -s -l 100%LV -n snap $vg/$lv 2>&1 | tee out

Error: SHELLCHECK_WARNING (CWE-457): [#def1583]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:70:30: warning[SC2154]: lv1 is referenced but not assigned.
#   68|   grep 'Please express size as %FREE, %ORIGIN, %PVS or %VG' out
#   69|   # 100%ORIGIN needs to have enough space for all data and needs to round-up
#   70|-> lvcreate -s -l 100%ORIGIN -n $lv1 $vg/$lv
#   71|   # everything needs to fit
#   72|   fill 4M $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1584]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:149:21: warning[SC2154]: lv2 is referenced but not assigned.
#  147|   # snapshot cannot be smaller then 3 chunks (12K)
#  148|   not lvcreate -s -l2 $vg1/$lv1
#  149|-> lvcreate -s -l30 -n $lv2 $vg1/$lv1
#  150|   check lv_field $vg1/$lv2 size "$EXPECT1"
#  151|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1585]
/usr/share/lvm2-testsuite/shell/snapshot-usage.sh:153:29: warning[SC2154]: lv3 is referenced but not assigned.
#  151|   
#  152|   not lvcreate -s -c512 -l128 $vg1/$lv1
#  153|-> lvcreate -s -c128 -l1700 -n $lv3 $vg1/$lv1
#  154|   # 3 * 128
#  155|   check lv_field $vg1/$lv3 size "$EXPECT2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1586]
/usr/share/lvm2-testsuite/shell/snapshots-of-mirrors.sh:21:56: warning[SC2154]: vg is referenced but not assigned.
#   19|   aux prepare_vg 4
#   20|   
#   21|-> lvcreate -aey --type mirror -m 1 -L 10M --nosync -n lv $vg
#   22|   
#   23|   # Create snapshot of a mirror origin

Error: SHELLCHECK_WARNING (CWE-563): [#def1587]
/usr/share/lvm2-testsuite/shell/stray-device-node.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1588]
/usr/share/lvm2-testsuite/shell/stray-device-node.sh:24:8: warning[SC2154]: dev1 is referenced but not assigned.
#   22|   test "$DM_DEV_DIR" = "/dev" && skip "Skipping stray test on real /dev dir"
#   23|   
#   24|-> cp -r "$dev1" "$DM_DEV_DIR/stray"
#   25|   
#   26|   vgcreate $SHARED "$vg" "${DEVICES[@]}"

Error: SHELLCHECK_WARNING (CWE-457): [#def1589]
/usr/share/lvm2-testsuite/shell/stray-device-node.sh:26:19: warning[SC2154]: vg is referenced but not assigned.
#   24|   cp -r "$dev1" "$DM_DEV_DIR/stray"
#   25|   
#   26|-> vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   27|   lvcreate -an -Zn --type mirror -m 1 -l 1 -n mirror $vg
#   28|   aux disable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1590]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1591]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:25:23: warning[SC2154]: vg1 is referenced but not assigned.
#   23|   pvcreate -M2 "${DEVICES[@]}"
#   24|   
#   25|-> vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|   vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1592]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:25:30: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   pvcreate -M2 "${DEVICES[@]}"
#   24|   
#   25|-> vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|   vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1593]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:25:38: warning[SC2154]: dev2 is referenced but not assigned.
#   23|   pvcreate -M2 "${DEVICES[@]}"
#   24|   
#   25|-> vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|   vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1594]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:25:46: warning[SC2154]: dev3 is referenced but not assigned.
#   23|   pvcreate -M2 "${DEVICES[@]}"
#   24|   
#   25|-> vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|   vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1595]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:26:23: warning[SC2154]: vg2 is referenced but not assigned.
#   24|   
#   25|   vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|-> vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   
#   28|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1596]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:26:30: warning[SC2154]: dev4 is referenced but not assigned.
#   24|   
#   25|   vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|-> vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   
#   28|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1597]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:26:38: warning[SC2154]: dev5 is referenced but not assigned.
#   24|   
#   25|   vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|-> vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   
#   28|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1598]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:26:46: warning[SC2154]: dev6 is referenced but not assigned.
#   24|   
#   25|   vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   26|-> vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   27|   
#   28|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-563): [#def1599]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_1.sh:68:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   66|   test_vg_thread2()
#   67|   {
#   68|-> 	for i in {1..1000}
#   69|   	do
#   70|   		# Create new logic volume and deactivate it

Error: SHELLCHECK_WARNING (CWE-563): [#def1600]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1601]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:15: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1602]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:23: warning[SC2154]: dev2 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1603]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:31: warning[SC2154]: dev3 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1604]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:39: warning[SC2154]: dev4 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1605]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:47: warning[SC2154]: dev5 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1606]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:23:55: warning[SC2154]: dev6 is referenced but not assigned.
#   21|   get_devs
#   22|   
#   23|-> pvcreate -M2 "$dev1" "$dev2" "$dev3" "$dev4" "$dev5" "$dev6"
#   24|   
#   25|   test_vg_thread1()

Error: SHELLCHECK_WARNING (CWE-457): [#def1607]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:29:25: warning[SC2154]: vg1 is referenced but not assigned.
#   27|   	for i in {1..1000}
#   28|   	do
#   29|-> 		vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3"
#   30|   		vgremove -ff $vg1
#   31|   	done

Error: SHELLCHECK_WARNING (CWE-457): [#def1608]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:36:24: warning[SC2154]: vg2 is referenced but not assigned.
#   34|   test_vg_thread2()
#   35|   {
#   36|-> 	vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6"
#   37|   
#   38|   	for i in {1..1000}

Error: SHELLCHECK_WARNING (CWE-563): [#def1609]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:78:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   76|   test_vg_thread3()
#   77|   {
#   78|-> 	for i in {1..1000}
#   79|   	do
#   80|   		pvcreate -M2 "$dev7" "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def1610]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:80:17: warning[SC2154]: dev7 is referenced but not assigned.
#   78|   	for i in {1..1000}
#   79|   	do
#   80|-> 		pvcreate -M2 "$dev7" "$dev8"
#   81|   		pvremove "$dev7"
#   82|   		pvremove "$dev8"

Error: SHELLCHECK_WARNING (CWE-457): [#def1611]
/usr/share/lvm2-testsuite/shell/stress_multi_threads_2.sh:80:25: warning[SC2154]: dev8 is referenced but not assigned.
#   78|   	for i in {1..1000}
#   79|   	do
#   80|-> 		pvcreate -M2 "$dev7" "$dev8"
#   81|   		pvremove "$dev7"
#   82|   		pvremove "$dev8"

Error: SHELLCHECK_WARNING (CWE-563): [#def1612]
/usr/share/lvm2-testsuite/shell/stress_single_thread.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1613]
/usr/share/lvm2-testsuite/shell/stress_single_thread.sh:22:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   20|   aux prepare_vg 3
#   21|   
#   22|-> for i in {1..1000}
#   23|   do
#   24|   	# Create new logic volume and deactivate it

Error: SHELLCHECK_WARNING (CWE-457): [#def1614]
/usr/share/lvm2-testsuite/shell/stress_single_thread.sh:25:37: warning[SC2154]: vg is referenced but not assigned.
#   23|   do
#   24|   	# Create new logic volume and deactivate it
#   25|-> 	lvcreate -a n --zero n -l 1 -n foo $vg
#   26|   
#   27|   	# Set minor number

Error: SHELLCHECK_WARNING (CWE-563): [#def1615]
/usr/share/lvm2-testsuite/shell/system_id.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test system_id'
#   14|   
#   15|   # test does not apply to lvmlockd

Error: SHELLCHECK_WARNING (CWE-563): [#def1616]
/usr/share/lvm2-testsuite/shell/system_id.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   # test does not apply to lvmlockd
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1617]
/usr/share/lvm2-testsuite/shell/system_id.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   # test does not apply to lvmlockd
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   print_lvmlocal() {

Error: SHELLCHECK_WARNING (CWE-457): [#def1618]
/usr/share/lvm2-testsuite/shell/system_id.sh:30:10: warning[SC2154]: etc is referenced but not assigned.
#   28|   eval "$(lvmconfig global/etc)"
#   29|   
#   30|-> SIDFILE="$etc/lvm_test.conf"
#   31|   LVMLOCAL="$etc/lvmlocal.conf"
#   32|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1619]
/usr/share/lvm2-testsuite/shell/system_id.sh:52:10: warning[SC2154]: vg1 is referenced but not assigned.
#   50|   SID=""
#   51|   aux lvmconf "global/system_id_source = none"
#   52|-> vgcreate $vg1 "$dev1"
#   53|   check vg_field $vg1 systemid "$SID"
#   54|   vgremove $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1620]
/usr/share/lvm2-testsuite/shell/system_id.sh:52:16: warning[SC2154]: dev1 is referenced but not assigned.
#   50|   SID=""
#   51|   aux lvmconf "global/system_id_source = none"
#   52|-> vgcreate $vg1 "$dev1"
#   53|   check vg_field $vg1 systemid "$SID"
#   54|   vgremove $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1621]
/usr/share/lvm2-testsuite/shell/system_id.sh:212:13: warning[SC2154]: lv1 is referenced but not assigned.
#  210|   # create a vg
#  211|   vgcreate $vg1 "$dev1"
#  212|-> lvcreate -n $lv1 -l 2 $vg1
#  213|   # normal vgs sees the vg and lv
#  214|   vgs >err

Error: SHELLCHECK_WARNING (CWE-457): [#def1622]
/usr/share/lvm2-testsuite/shell/system_id.sh:552:24: warning[SC2154]: dev2 is referenced but not assigned.
#  550|   	    "global/system_id_file = \"$SIDFILE\""
#  551|   # create a vg
#  552|-> vgcreate $vg1 "$dev1" "$dev2" "$dev3"
#  553|   vgcreate $vg2 "$dev4" "$dev5"
#  554|   # normal vgs sees the vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1623]
/usr/share/lvm2-testsuite/shell/system_id.sh:552:32: warning[SC2154]: dev3 is referenced but not assigned.
#  550|   	    "global/system_id_file = \"$SIDFILE\""
#  551|   # create a vg
#  552|-> vgcreate $vg1 "$dev1" "$dev2" "$dev3"
#  553|   vgcreate $vg2 "$dev4" "$dev5"
#  554|   # normal vgs sees the vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1624]
/usr/share/lvm2-testsuite/shell/system_id.sh:553:10: warning[SC2154]: vg2 is referenced but not assigned.
#  551|   # create a vg
#  552|   vgcreate $vg1 "$dev1" "$dev2" "$dev3"
#  553|-> vgcreate $vg2 "$dev4" "$dev5"
#  554|   # normal vgs sees the vg
#  555|   # change the local system_id, making the vg foreign

Error: SHELLCHECK_WARNING (CWE-457): [#def1625]
/usr/share/lvm2-testsuite/shell/system_id.sh:553:16: warning[SC2154]: dev4 is referenced but not assigned.
#  551|   # create a vg
#  552|   vgcreate $vg1 "$dev1" "$dev2" "$dev3"
#  553|-> vgcreate $vg2 "$dev4" "$dev5"
#  554|   # normal vgs sees the vg
#  555|   # change the local system_id, making the vg foreign

Error: SHELLCHECK_WARNING (CWE-457): [#def1626]
/usr/share/lvm2-testsuite/shell/system_id.sh:553:24: warning[SC2154]: dev5 is referenced but not assigned.
#  551|   # create a vg
#  552|   vgcreate $vg1 "$dev1" "$dev2" "$dev3"
#  553|-> vgcreate $vg2 "$dev4" "$dev5"
#  554|   # normal vgs sees the vg
#  555|   # change the local system_id, making the vg foreign

Error: SHELLCHECK_WARNING (CWE-563): [#def1627]
/usr/share/lvm2-testsuite/shell/tags.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1628]
/usr/share/lvm2-testsuite/shell/tags.sh:21:35: warning[SC2154]: vg1 is referenced but not assigned.
#   19|   
#   20|   # vgcreate $SHARED with --addtag
#   21|-> vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|   vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1629]
/usr/share/lvm2-testsuite/shell/tags.sh:21:41: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   
#   20|   # vgcreate $SHARED with --addtag
#   21|-> vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|   vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1630]
/usr/share/lvm2-testsuite/shell/tags.sh:21:49: warning[SC2154]: dev2 is referenced but not assigned.
#   19|   
#   20|   # vgcreate $SHARED with --addtag
#   21|-> vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|   vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1631]
/usr/share/lvm2-testsuite/shell/tags.sh:22:36: warning[SC2154]: vg2 is referenced but not assigned.
#   20|   # vgcreate $SHARED with --addtag
#   21|   vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|-> vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"
#   24|   check vg_field $vg2 tags "secondvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1632]
/usr/share/lvm2-testsuite/shell/tags.sh:22:42: warning[SC2154]: dev3 is referenced but not assigned.
#   20|   # vgcreate $SHARED with --addtag
#   21|   vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|-> vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"
#   24|   check vg_field $vg2 tags "secondvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1633]
/usr/share/lvm2-testsuite/shell/tags.sh:22:50: warning[SC2154]: dev4 is referenced but not assigned.
#   20|   # vgcreate $SHARED with --addtag
#   21|   vgcreate $SHARED --addtag firstvg $vg1 "$dev1" "$dev2"
#   22|-> vgcreate $SHARED --addtag secondvg $vg2 "$dev3" "$dev4"
#   23|   check vg_field $vg1 tags "firstvg"
#   24|   check vg_field $vg2 tags "secondvg"

Error: SHELLCHECK_WARNING (CWE-457): [#def1634]
/usr/share/lvm2-testsuite/shell/tags.sh:49:39: warning[SC2154]: lv1 is referenced but not assigned.
#   47|   # lvcreate with --addtag
#   48|   vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   49|-> lvcreate --addtag firstlvtag1 -l 4 -n $lv1 $vg1
#   50|   lvcreate --addtag secondlvtag1 -l 4 -n $lv2 $vg1
#   51|   check lv_field @firstlvtag1 tags "firstlvtag1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1635]
/usr/share/lvm2-testsuite/shell/tags.sh:50:40: warning[SC2154]: lv2 is referenced but not assigned.
#   48|   vgcreate $SHARED $vg1 "$dev1" "$dev2"
#   49|   lvcreate --addtag firstlvtag1 -l 4 -n $lv1 $vg1
#   50|-> lvcreate --addtag secondlvtag1 -l 4 -n $lv2 $vg1
#   51|   check lv_field @firstlvtag1 tags "firstlvtag1"
#   52|   not check lv_field @secondlvtag1 tags "firstlvtag1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1636]
/usr/share/lvm2-testsuite/shell/test-partition.sh:20:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   18|   
#   19|   
#   20|-> SKIP_WITH_LVMPOLLD=1
#   21|   
#   22|   LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]"

Error: SHELLCHECK_WARNING (CWE-563): [#def1637]
/usr/share/lvm2-testsuite/shell/test-partition.sh:22:1: warning[SC2034]: LVM_TEST_CONFIG_DEVICES appears unused. Verify use (or export if used externally).
#   20|   SKIP_WITH_LVMPOLLD=1
#   21|   
#   22|-> LVM_TEST_CONFIG_DEVICES="types = [\"device-mapper\", 142]"
#   23|   
#   24|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1638]
/usr/share/lvm2-testsuite/shell/test-partition.sh:30:6: warning[SC2154]: dev1 is referenced but not assigned.
#   28|   aux prepare_pvs 1 30
#   29|   
#   30|-> pvs "$dev1"
#   31|   
#   32|   # create small partition table

Error: SHELLCHECK_WARNING (CWE-563): [#def1639]
/usr/share/lvm2-testsuite/shell/thin-16g.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1640]
/usr/share/lvm2-testsuite/shell/thin-16g.sh:24:41: warning[SC2154]: vg is referenced but not assigned.
#   22|   aux prepare_vg 1 50000
#   23|   
#   24|-> lvcreate -T -L10 --poolmetadatasize 16g $vg/pool
#   25|   check lv_field $vg/pool_tmeta size "<15.88g"
#   26|   lvremove -f $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1641]
/usr/share/lvm2-testsuite/shell/thin-autoumount-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1642]
/usr/share/lvm2-testsuite/shell/thin-autoumount-dmeventd.sh:29:15: warning[SC2154]: vg is referenced but not assigned.
#   27|   	umount "$mntdir" 2>/dev/null || true
#   28|   	umount "$mntusedir" 2>/dev/null || true
#   29|-> 	vgremove -ff $vg
#   30|   	aux teardown
#   31|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def1643]
/usr/share/lvm2-testsuite/shell/thin-autoumount-dmeventd.sh:77:23: warning[SC2154]: lv1 is referenced but not assigned.
#   75|   aux prepare_vg 2
#   76|   
#   77|-> lvcreate -L8M -V8M -n $lv1 -T $vg/pool
#   78|   lvcreate -V8M -n $lv2 -T $vg/pool
#   79|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1644]
/usr/share/lvm2-testsuite/shell/thin-autoumount-dmeventd.sh:78:18: warning[SC2154]: lv2 is referenced but not assigned.
#   76|   
#   77|   lvcreate -L8M -V8M -n $lv1 -T $vg/pool
#   78|-> lvcreate -V8M -n $lv2 -T $vg/pool
#   79|   
#   80|   mkfs.ext4 "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-398): [#def1645]
/usr/share/lvm2-testsuite/shell/thin-autoumount-dmeventd.sh:98:1: warning[SC2217]: Redirecting to 'sleep', a command that doesn't read stdin. Bad quoting, wrong command or missing xargs?
#   96|   
#   97|   # Running 'keeper' process sleep holds the block device still in use
#   98|-> sleep 60 < "$mntusedir/file$$" >/dev/null 2>&1 &
#   99|   PID_SLEEP=$!
#  100|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1646]
/usr/share/lvm2-testsuite/shell/thin-defaults.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1647]
/usr/share/lvm2-testsuite/shell/thin-defaults.sh:29:18: warning[SC2154]: vg is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -T -L8M $vg/pool0
#   30|   
#   31|   aux lvmconf "allocation/thin_pool_chunk_size = 128" \

Error: SHELLCHECK_WARNING (CWE-563): [#def1648]
/usr/share/lvm2-testsuite/shell/thin-dmeventd-warns.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1649]
/usr/share/lvm2-testsuite/shell/thin-dmeventd-warns.sh:23:15: warning[SC2154]: vg is referenced but not assigned.
#   21|   
#   22|   percent_() {
#   23|-> 	get lv_field $vg/pool data_percent | cut -d. -f1
#   24|   }
#   25|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1650]
/usr/share/lvm2-testsuite/shell/thin-dmeventd-warns.sh:28:2: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#   26|   wait_warn_() {
#   27|   
#   28|-> 	for i in $(seq 1 7)
#   29|   	do
#   30|   		test "$(grep -E -c "WARNING: Thin pool.*is now" debug.log_DMEVENTD_out)" -eq "$1" && return 0

Error: SHELLCHECK_WARNING (CWE-457): [#def1651]
/usr/share/lvm2-testsuite/shell/thin-dmeventd-warns.sh:44:33: warning[SC2154]: lv1 is referenced but not assigned.
#   42|   aux prepare_vg
#   43|   
#   44|-> lvcreate -L8 -V8 -T $vg/pool -n $lv1
#   45|   
#   46|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1652]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test various error conditions user may hit with thin volumes
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1653]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1654]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:34:36: warning[SC2154]: vg is referenced but not assigned.
#   32|   ###############################################
#   33|   
#   34|-> lvcreate -T -L1M --errorwhenfull y $vg/pool
#   35|   lvcreate -V2 -n $lv1 $vg/pool
#   36|   lvcreate -s -n $lv2 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1655]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:35:17: warning[SC2154]: lv1 is referenced but not assigned.
#   33|   
#   34|   lvcreate -T -L1M --errorwhenfull y $vg/pool
#   35|-> lvcreate -V2 -n $lv1 $vg/pool
#   36|   lvcreate -s -n $lv2 $vg/$lv1
#   37|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1656]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:36:16: warning[SC2154]: lv2 is referenced but not assigned.
#   34|   lvcreate -T -L1M --errorwhenfull y $vg/pool
#   35|   lvcreate -V2 -n $lv1 $vg/pool
#   36|-> lvcreate -s -n $lv2 $vg/$lv1
#   37|   
#   38|   # Prepare old metadata with transaction_id 2

Error: SHELLCHECK_WARNING (CWE-457): [#def1657]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:41:16: warning[SC2154]: lv3 is referenced but not assigned.
#   39|   vgcfgbackup -f mda_tid_2 $vg
#   40|   
#   41|-> lvcreate -s -n $lv3 $vg/$lv1
#   42|   lvcreate -s -n $lv4 $vg/$lv1
#   43|   lvcreate -s -n $lv5 $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1658]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:42:16: warning[SC2154]: lv4 is referenced but not assigned.
#   40|   
#   41|   lvcreate -s -n $lv3 $vg/$lv1
#   42|-> lvcreate -s -n $lv4 $vg/$lv1
#   43|   lvcreate -s -n $lv5 $vg/$lv1
#   44|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1659]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:43:16: warning[SC2154]: lv5 is referenced but not assigned.
#   41|   lvcreate -s -n $lv3 $vg/$lv1
#   42|   lvcreate -s -n $lv4 $vg/$lv1
#   43|-> lvcreate -s -n $lv5 $vg/$lv1
#   44|   
#   45|   vgcfgbackup -f mda_tid_5 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1660]
/usr/share/lvm2-testsuite/shell/thin-errors.sh:68:16: warning[SC2154]: lv6 is referenced but not assigned.
#   66|   vgcfgrestore -f mda_tid_5 --force --yes $vg
#   67|   
#   68|-> lvcreate -s -n $lv6 $vg/$lv1
#   69|   
#   70|   lvchange -ay -K $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1661]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # test presence of various thin-pool/thin flags
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1662]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1663]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:34:36: warning[SC2154]: vg is referenced but not assigned.
#   32|   ###############################################
#   33|   
#   34|-> lvcreate -T -L1M --errorwhenfull y $vg/pool
#   35|   lvcreate -V2 -n $lv2 $vg/pool
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1664]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:35:17: warning[SC2154]: lv2 is referenced but not assigned.
#   33|   
#   34|   lvcreate -T -L1M --errorwhenfull y $vg/pool
#   35|-> lvcreate -V2 -n $lv2 $vg/pool
#   36|   
#   37|   aux error_dev  "$dev2" 2054:2

Error: SHELLCHECK_WARNING (CWE-457): [#def1665]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:37:17: warning[SC2154]: dev2 is referenced but not assigned.
#   35|   lvcreate -V2 -n $lv2 $vg/pool
#   36|   
#   37|-> aux error_dev  "$dev2" 2054:2
#   38|   # Check our 'lvs' is not flushing pool - should be still OK
#   39|   check lv_attr_bit health $vg/pool "-"

Error: SHELLCHECK_WARNING (CWE-457): [#def1666]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:70:17: warning[SC2154]: lv1 is referenced but not assigned.
#   68|   
#   69|   # Prepare some fake metadata prefilled to ~100%
#   70|-> lvcreate -L2 -n $lv1 $vg "$dev2" # tmp for metadata
#   71|   
#   72|   VOLS=490

Error: SHELLCHECK_WARNING (CWE-457): [#def1667]
/usr/share/lvm2-testsuite/shell/thin-flags.sh:100:22: warning[SC2154]: lv3 is referenced but not assigned.
#   98|   
#   99|   not lvcreate -s $vg/$lv2
#  100|-> not lvcreate -V10 -n $lv3 $vg/pool
#  101|   
#  102|   lvs -ao+seg_pe_ranges $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1668]
/usr/share/lvm2-testsuite/shell/thin-foreign-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1669]
/usr/share/lvm2-testsuite/shell/thin-foreign-dmeventd.sh:29:15: warning[SC2154]: vg is referenced but not assigned.
#   27|   		dmsetup remove $THIN
#   28|   	}
#   29|-> 	vgremove -ff $vg
#   30|   	aux teardown
#   31|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def1670]
/usr/share/lvm2-testsuite/shell/thin-foreign-dmeventd.sh:81:16: warning[SC2154]: dev1 is referenced but not assigned.
#   79|   mount "$DM_DEV_DIR/mapper/$THIN" "$MOUNT_DIR"
#   80|   
#   81|-> pvchange -x n "$dev1" "$dev2"
#   82|   
#   83|   test "$(percent_)" -gt 95

Error: SHELLCHECK_WARNING (CWE-457): [#def1671]
/usr/share/lvm2-testsuite/shell/thin-foreign-dmeventd.sh:81:24: warning[SC2154]: dev2 is referenced but not assigned.
#   79|   mount "$DM_DEV_DIR/mapper/$THIN" "$MOUNT_DIR"
#   80|   
#   81|-> pvchange -x n "$dev1" "$dev2"
#   82|   
#   83|   test "$(percent_)" -gt 95

Error: SHELLCHECK_WARNING (CWE-563): [#def1672]
/usr/share/lvm2-testsuite/shell/thin-foreign-dmeventd.sh:103:1: warning[SC2034]: i appears unused. Verify use (or export if used externally).
#  101|   
#  102|   # Give it some time and let dmeventd do some work
#  103|-> for i in $(seq 1 15) ; do
#  104|   	test "$(percent_)" -ge 75 || break
#  105|   	sleep 1

Error: SHELLCHECK_WARNING (CWE-563): [#def1673]
/usr/share/lvm2-testsuite/shell/thin-foreign-repair.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1674]
/usr/share/lvm2-testsuite/shell/thin-foreign-repair.sh:29:15: warning[SC2154]: vg is referenced but not assigned.
#   27|   {
#   28|   	clean_thin_ || true
#   29|-> 	vgremove -ff $vg
#   30|   	aux teardown
#   31|   }

Error: SHELLCHECK_WARNING (CWE-563): [#def1675]
/usr/share/lvm2-testsuite/shell/thin-large.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1676]
/usr/share/lvm2-testsuite/shell/thin-large.sh:28:24: warning[SC2154]: vg is referenced but not assigned.
#   26|   aux prepare_vg 1 1000000000
#   27|   
#   28|-> lvcreate -an -T -L250T $vg/pool250
#   29|   
#   30|   lvcreate -an -T -L250T --poolmetadatasize 16G $vg/pool16

Error: SHELLCHECK_WARNING (CWE-563): [#def1677]
/usr/share/lvm2-testsuite/shell/thin-many-dmeventd.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # test activation of monitoring with more thin-pool
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1678]
/usr/share/lvm2-testsuite/shell/thin-many-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1679]
/usr/share/lvm2-testsuite/shell/thin-many-dmeventd.sh:35:46: warning[SC2154]: vg is referenced but not assigned.
#   33|   for i in $(seq 1 5)
#   34|   do
#   35|-> 	lvcreate --errorwhenfull y -Zn -T -L4M -V4M $vg/pool_${i} -n $lv${i}
#   36|           # Fill thin-pool to some capacity >50%
#   37|   	dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv${i}" bs=256K count=9 oflag=direct

Error: SHELLCHECK_WARNING (CWE-457): [#def1680]
/usr/share/lvm2-testsuite/shell/thin-many-dmeventd.sh:35:63: warning[SC2154]: lv is referenced but not assigned.
#   33|   for i in $(seq 1 5)
#   34|   do
#   35|-> 	lvcreate --errorwhenfull y -Zn -T -L4M -V4M $vg/pool_${i} -n $lv${i}
#   36|           # Fill thin-pool to some capacity >50%
#   37|   	dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv${i}" bs=256K count=9 oflag=direct

Error: SHELLCHECK_WARNING (CWE-457): [#def1681]
/usr/share/lvm2-testsuite/shell/thin-merge.sh:33:18: warning[SC2154]: vg is referenced but not assigned.
#   31|   aux prepare_vg 2
#   32|   
#   33|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   34|   lvcreate -s -K -n snap $vg/$lv1
#   35|   # check exclusive lock is preserved after merge

Error: SHELLCHECK_WARNING (CWE-457): [#def1682]
/usr/share/lvm2-testsuite/shell/thin-merge.sh:33:36: warning[SC2154]: lv1 is referenced but not assigned.
#   31|   aux prepare_vg 2
#   32|   
#   33|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   34|   lvcreate -s -K -n snap $vg/$lv1
#   35|   # check exclusive lock is preserved after merge

Error: SHELLCHECK_WARNING (CWE-563): [#def1683]
/usr/share/lvm2-testsuite/shell/thin-overprovisioning.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1684]
/usr/share/lvm2-testsuite/shell/thin-overprovisioning.sh:27:18: warning[SC2154]: vg is referenced but not assigned.
#   25|   aux prepare_vg 2 33
#   26|   
#   27|-> lvcreate -L32 -T $vg/pool
#   28|   # check there is link node for UNUSED thin-pool
#   29|   test -e "$DM_DEV_DIR/$vg/pool"

Error: SHELLCHECK_WARNING (CWE-457): [#def1685]
/usr/share/lvm2-testsuite/shell/thin-overprovisioning.sh:32:17: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   
#   31|   # leave 12M free space
#   32|-> lvcreate -an -n $lv1 -L16 $vg 2>&1 | tee out
#   33|   vgs $vg
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1686]
/usr/share/lvm2-testsuite/shell/thin-overprovisioning.sh:46:17: warning[SC2154]: lv2 is referenced but not assigned.
#   44|   
#   45|   # Eat all space in VG
#   46|-> lvcreate -an -n $lv2 -L12 $vg 2>&1 | tee out
#   47|   grep "WARNING: Sum" out
#   48|   grep "no free space in volume group" out

Error: SHELLCHECK_WARNING (CWE-457): [#def1687]
/usr/share/lvm2-testsuite/shell/thin-overprovisioning.sh:66:21: warning[SC2154]: lv3 is referenced but not assigned.
#   64|   grep "free space in volume group (6.00 MiB)" out
#   65|   
#   66|-> lvcreate -an -L6 -n $lv3 $vg 2>&1 | tee out
#   67|   grep "no free space in volume group" out
#   68|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1688]
/usr/share/lvm2-testsuite/shell/thin-resize-match.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1689]
/usr/share/lvm2-testsuite/shell/thin-resize-match.sh:28:23: warning[SC2154]: lv1 is referenced but not assigned.
#   26|   aux prepare_vg 2 20
#   27|   
#   28|-> lvcreate -L1M -V2M -n $lv1 -T $vg/pool
#   29|   
#   30|   # just ensure we check what we need to check

Error: SHELLCHECK_WARNING (CWE-457): [#def1690]
/usr/share/lvm2-testsuite/shell/thin-resize-match.sh:28:31: warning[SC2154]: vg is referenced but not assigned.
#   26|   aux prepare_vg 2 20
#   27|   
#   28|-> lvcreate -L1M -V2M -n $lv1 -T $vg/pool
#   29|   
#   30|   # just ensure we check what we need to check

Error: SHELLCHECK_WARNING (CWE-563): [#def1691]
/usr/share/lvm2-testsuite/shell/thin-resize-match.sh:71:1: warning[SC2034]: POOLSZ appears unused. Verify use (or export if used externally).
#   69|   
#   70|   # Check wrapping active thin-pool linear mapping has matching size
#   71|-> POOLSZ=$(dmsetup table ${vg}-pool-tpool | cut -d ' ' -f 2)
#   72|   WRAPSZ=$(dmsetup table ${vg}-pool | cut -d ' ' -f 2)
#   73|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1692]
/usr/share/lvm2-testsuite/shell/thin-resize-match.sh:72:1: warning[SC2034]: WRAPSZ appears unused. Verify use (or export if used externally).
#   70|   # Check wrapping active thin-pool linear mapping has matching size
#   71|   POOLSZ=$(dmsetup table ${vg}-pool-tpool | cut -d ' ' -f 2)
#   72|-> WRAPSZ=$(dmsetup table ${vg}-pool | cut -d ' ' -f 2)
#   73|   
#   74|   #

Error: SHELLCHECK_WARNING (CWE-563): [#def1693]
/usr/share/lvm2-testsuite/shell/thin-restore.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1694]
/usr/share/lvm2-testsuite/shell/thin-restore.sh:29:18: warning[SC2154]: vg is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   30|   
#   31|   vgcfgbackup -f backup $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1695]
/usr/share/lvm2-testsuite/shell/thin-restore.sh:29:36: warning[SC2154]: lv1 is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   30|   
#   31|   vgcfgbackup -f backup $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1696]
/usr/share/lvm2-testsuite/shell/thin-vglock.sh:28:25: warning[SC2154]: lv1 is referenced but not assigned.
#   26|   aux prepare_vg
#   27|   
#   28|-> lvcreate -L10 -T -V5 -n $lv1 $vg/pool
#   29|   lvcreate -an -V10 -T $vg/pool
#   30|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1697]
/usr/share/lvm2-testsuite/shell/thin-vglock.sh:28:30: warning[SC2154]: vg is referenced but not assigned.
#   26|   aux prepare_vg
#   27|   
#   28|-> lvcreate -L10 -T -V5 -n $lv1 $vg/pool
#   29|   lvcreate -an -V10 -T $vg/pool
#   30|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1698]
/usr/share/lvm2-testsuite/shell/thin-volume-list.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1699]
/usr/share/lvm2-testsuite/shell/thin-volume-list.sh:29:18: warning[SC2154]: vg is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   30|   
#   31|   # skip $vg from activation

Error: SHELLCHECK_WARNING (CWE-457): [#def1700]
/usr/share/lvm2-testsuite/shell/thin-volume-list.sh:29:36: warning[SC2154]: lv1 is referenced but not assigned.
#   27|   aux prepare_vg 2
#   28|   
#   29|-> lvcreate -T -L8M $vg/pool -V10M -n $lv1
#   30|   
#   31|   # skip $vg from activation

Error: SHELLCHECK_WARNING (CWE-457): [#def1701]
/usr/share/lvm2-testsuite/shell/thin-volume-list.sh:32:43: warning[SC2154]: vg1 is referenced but not assigned.
#   30|   
#   31|   # skip $vg from activation
#   32|-> aux lvmconf "activation/volume_list = [ \"$vg1\" ]"
#   33|   
#   34|   # We still could pass - since pool is still active

Error: SHELLCHECK_WARNING (CWE-457): [#def1702]
/usr/share/lvm2-testsuite/shell/thin-volume-list.sh:35:18: warning[SC2154]: lv2 is referenced but not assigned.
#   33|   
#   34|   # We still could pass - since pool is still active
#   35|-> lvcreate -V10 -n $lv2 -T $vg/pool
#   36|   
#   37|   # but $lv2 is not active

Error: SHELLCHECK_WARNING (CWE-563): [#def1703]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test how zeroing of thin-pool metadata works
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1704]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-457): [#def1705]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:31:15: warning[SC2154]: dev1 is referenced but not assigned.
#   29|   
#   30|   # Create mostly-zero devs only front of it has some 'real' back-end
#   31|-> aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"
#   32|   aux zero_dev "$dev2" "$(( $(get first_extent_sector "$dev2") + 8192 )):"
#   33|   aux zero_dev "$dev3" "$(( $(get first_extent_sector "$dev3") + 8192 )):"

Error: SHELLCHECK_WARNING (CWE-457): [#def1706]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:32:15: warning[SC2154]: dev2 is referenced but not assigned.
#   30|   # Create mostly-zero devs only front of it has some 'real' back-end
#   31|   aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"
#   32|-> aux zero_dev "$dev2" "$(( $(get first_extent_sector "$dev2") + 8192 )):"
#   33|   aux zero_dev "$dev3" "$(( $(get first_extent_sector "$dev3") + 8192 )):"
#   34|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1707]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:33:15: warning[SC2154]: dev3 is referenced but not assigned.
#   31|   aux zero_dev "$dev1" "$(( $(get first_extent_sector "$dev1") + 8192 )):"
#   32|   aux zero_dev "$dev2" "$(( $(get first_extent_sector "$dev2") + 8192 )):"
#   33|-> aux zero_dev "$dev3" "$(( $(get first_extent_sector "$dev3") + 8192 )):"
#   34|   
#   35|   # Prepare randomly filled 4M LV on dev2

Error: SHELLCHECK_WARNING (CWE-457): [#def1708]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:36:19: warning[SC2154]: lv1 is referenced but not assigned.
#   34|   
#   35|   # Prepare randomly filled 4M LV on dev2
#   36|-> lvcreate -L16G -n $lv1 $vg "$dev2"
#   37|   dd if=/dev/urandom of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=4 oflag=direct  || true
#   38|   lvremove -f $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1709]
/usr/share/lvm2-testsuite/shell/thin-zero-meta.sh:36:24: warning[SC2154]: vg is referenced but not assigned.
#   34|   
#   35|   # Prepare randomly filled 4M LV on dev2
#   36|-> lvcreate -L16G -n $lv1 $vg "$dev2"
#   37|   dd if=/dev/urandom of="$DM_DEV_DIR/$vg/$lv1" bs=1M count=4 oflag=direct  || true
#   38|   lvremove -f $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1710]
/usr/share/lvm2-testsuite/shell/topology-support.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1711]
/usr/share/lvm2-testsuite/shell/topology-support.sh:25:27: warning[SC2154]: lv1 is referenced but not assigned.
#   23|   
#   24|   test_snapshot_mount() {
#   25|->     lvcreate -aey -L4M -n $lv1 $vg "$dev1"
#   26|       mkfs.ext3 -b4096 "$(lvdev_ $vg $lv1)"
#   27|       mkdir test_mnt

Error: SHELLCHECK_WARNING (CWE-457): [#def1712]
/usr/share/lvm2-testsuite/shell/topology-support.sh:25:32: warning[SC2154]: vg is referenced but not assigned.
#   23|   
#   24|   test_snapshot_mount() {
#   25|->     lvcreate -aey -L4M -n $lv1 $vg "$dev1"
#   26|       mkfs.ext3 -b4096 "$(lvdev_ $vg $lv1)"
#   27|       mkdir test_mnt

Error: SHELLCHECK_WARNING (CWE-457): [#def1713]
/usr/share/lvm2-testsuite/shell/topology-support.sh:25:37: warning[SC2154]: dev1 is referenced but not assigned.
#   23|   
#   24|   test_snapshot_mount() {
#   25|->     lvcreate -aey -L4M -n $lv1 $vg "$dev1"
#   26|       mkfs.ext3 -b4096 "$(lvdev_ $vg $lv1)"
#   27|       mkdir test_mnt

Error: SHELLCHECK_WARNING (CWE-457): [#def1714]
/usr/share/lvm2-testsuite/shell/topology-support.sh:29:22: warning[SC2154]: lv2 is referenced but not assigned.
#   27|       mkdir test_mnt
#   28|       mount "$(lvdev_ $vg $lv1)" test_mnt
#   29|->     lvcreate -L4M -n $lv2 -s $vg/$lv1
#   30|       umount test_mnt
#   31|       aux udev_wait

Error: SHELLCHECK_WARNING (CWE-563): [#def1715]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='udev rule and systemd unit run vgchange'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1716]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='udev rule and systemd unit run vgchange'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1717]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1718]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:98:19: warning[SC2154]: dev1 is referenced but not assigned.
#   96|   # Test requires 3 devs
#   97|   test "$num_devs" -gt 2 || skip
#   98|-> BDEV1=$(basename "$dev1")
#   99|   BDEV2=$(basename "$dev2")
#  100|   BDEV3=$(basename "$dev3")

Error: SHELLCHECK_WARNING (CWE-457): [#def1719]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:99:19: warning[SC2154]: dev2 is referenced but not assigned.
#   97|   test "$num_devs" -gt 2 || skip
#   98|   BDEV1=$(basename "$dev1")
#   99|-> BDEV2=$(basename "$dev2")
#  100|   BDEV3=$(basename "$dev3")
#  101|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1720]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:100:19: warning[SC2154]: dev3 is referenced but not assigned.
#   98|   BDEV1=$(basename "$dev1")
#   99|   BDEV2=$(basename "$dev2")
#  100|-> BDEV3=$(basename "$dev3")
#  101|   
#  102|   wipe_all

Error: SHELLCHECK_WARNING (CWE-457): [#def1721]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:110:10: warning[SC2154]: vg1 is referenced but not assigned.
#  108|   # 1 dev, 1 vg, 1 lv
#  109|   
#  110|-> vgcreate $vg1 "$dev1"
#  111|   lvcreate -l1 -an -n $lv1 $vg1 "$dev1"
#  112|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1722]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:111:21: warning[SC2154]: lv1 is referenced but not assigned.
#  109|   
#  110|   vgcreate $vg1 "$dev1"
#  111|-> lvcreate -l1 -an -n $lv1 $vg1 "$dev1"
#  112|   
#  113|   PVID1=$(pvs "$dev1" --noheading -o uuid | tr -d - | awk '{print $1}')

Error: SHELLCHECK_WARNING (CWE-457): [#def1723]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:132:10: warning[SC2154]: vg2 is referenced but not assigned.
#  130|   # 2 devs, 1 vg, 2 lvs
#  131|   
#  132|-> vgcreate $vg2 "$dev1" "$dev2"
#  133|   lvcreate -l1 -an -n $lv1 $vg2 "$dev1"
#  134|   lvcreate -l1 -an -n $lv2 $vg2 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1724]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:134:21: warning[SC2154]: lv2 is referenced but not assigned.
#  132|   vgcreate $vg2 "$dev1" "$dev2"
#  133|   lvcreate -l1 -an -n $lv1 $vg2 "$dev1"
#  134|-> lvcreate -l1 -an -n $lv2 $vg2 "$dev2"
#  135|   
#  136|   PVID1=$(pvs "$dev1" --noheading -o uuid | tr -d - | awk '{print $1}')

Error: SHELLCHECK_WARNING (CWE-457): [#def1725]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:168:10: warning[SC2154]: vg3 is referenced but not assigned.
#  166|   # to activate the VG)
#  167|   
#  168|-> vgcreate $vg3 "$dev1" "$dev2" "$dev3"
#  169|   lvcreate -l1 -an -n $lv1 $vg3 "$dev1"
#  170|   lvcreate -l1 -an -n $lv2 $vg3 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1726]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:171:21: warning[SC2154]: lv3 is referenced but not assigned.
#  169|   lvcreate -l1 -an -n $lv1 $vg3 "$dev1"
#  170|   lvcreate -l1 -an -n $lv2 $vg3 "$dev2"
#  171|-> lvcreate -l1 -an -n $lv3 $vg3 "$dev3"
#  172|   lvcreate -l8 -an -n $lv4 -i 2 $vg3 "$dev1" "$dev2"
#  173|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1727]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:172:21: warning[SC2154]: lv4 is referenced but not assigned.
#  170|   lvcreate -l1 -an -n $lv2 $vg3 "$dev2"
#  171|   lvcreate -l1 -an -n $lv3 $vg3 "$dev3"
#  172|-> lvcreate -l8 -an -n $lv4 -i 2 $vg3 "$dev1" "$dev2"
#  173|   
#  174|   PVID1=$(pvs "$dev1" --noheading -o uuid | tr -d - | awk '{print $1}')

Error: SHELLCHECK_WARNING (CWE-457): [#def1728]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:213:10: warning[SC2154]: vg4 is referenced but not assigned.
#  211|   pvcreate "$dev3"
#  212|   
#  213|-> vgcreate $vg4 "$dev1" "$dev2" "$dev3"
#  214|   lvcreate -l1 -an -n $lv1 $vg4 "$dev1"
#  215|   lvcreate -l1 -an -n $lv2 $vg4 "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1729]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:255:10: warning[SC2154]: vg5 is referenced but not assigned.
#  253|   touch "$DF"
#  254|   
#  255|-> vgcreate $vg5 "$dev1"
#  256|   vgcreate $vg6 "$dev2"
#  257|   vgcreate $vg7 "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1730]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:256:10: warning[SC2154]: vg6 is referenced but not assigned.
#  254|   
#  255|   vgcreate $vg5 "$dev1"
#  256|-> vgcreate $vg6 "$dev2"
#  257|   vgcreate $vg7 "$dev3"
#  258|   lvcreate -l1 -an -n $lv1 $vg5

Error: SHELLCHECK_WARNING (CWE-457): [#def1731]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:257:10: warning[SC2154]: vg7 is referenced but not assigned.
#  255|   vgcreate $vg5 "$dev1"
#  256|   vgcreate $vg6 "$dev2"
#  257|-> vgcreate $vg7 "$dev3"
#  258|   lvcreate -l1 -an -n $lv1 $vg5
#  259|   lvcreate -l1 -an -n $lv2 $vg5

Error: SHELLCHECK_WARNING (CWE-457): [#def1732]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:307:18: warning[SC2154]: vg8 is referenced but not assigned.
#  305|   pvcreate "$dev2"
#  306|   pvcreate "$dev3"
#  307|-> vgcreate -s 128K $vg8 "$dev1" "$dev2" "$dev3"
#  308|   
#  309|   # Number of LVs to create

Error: SHELLCHECK_WARNING (CWE-457): [#def1733]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:388:10: warning[SC2154]: vg9 is referenced but not assigned.
#  386|   
#  387|   wait_md_create "$mddev"
#  388|-> vgcreate $vg9 "$mddev"
#  389|   lvmdevices --adddev "$mddev" || true
#  390|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1734]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:391:1: warning[SC2034]: PVIDMD appears unused. Verify use (or export if used externally).
#  389|   lvmdevices --adddev "$mddev" || true
#  390|   
#  391|-> PVIDMD=$(pvs "$mddev" --noheading -o uuid | tr -d - | awk '{print $1}')
#  392|   BDEVMD=$(basename "$mddev")
#  393|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1735]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:430:10: warning[SC2154]: vg10 is referenced but not assigned.
#  428|   _clear_online_files
#  429|   rm "$DF"
#  430|-> vgcreate $vg10 "$dev1"
#  431|   lvcreate -l1 -an -n $lv1 $vg10 "$dev1"
#  432|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1736]
/usr/share/lvm2-testsuite/shell/udev-pvscan-vgchange.sh:483:10: warning[SC2154]: vg11 is referenced but not assigned.
#  481|   PRODUCT_UUID2="11111111-2222-3333-4444-666666666666"
#  482|   
#  483|-> vgcreate $vg11 "$dev1"
#  484|   lvcreate -l1 -an -n $lv1 $vg11 "$dev1"
#  485|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1737]
/usr/share/lvm2-testsuite/shell/unknown-segment.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1738]
/usr/share/lvm2-testsuite/shell/unknown-segment.sh:20:26: warning[SC2154]: lv1 is referenced but not assigned.
#   18|   aux prepare_vg 4
#   19|   
#   20|-> lvcreate -an -Zn -l 1 -n $lv1 $vg
#   21|   lvcreate -an -Zn -l 2 --type mirror -m 1 -n $lv2 $vg
#   22|   lvcreate -an -Zn --type zero -l 1 -n $lv3 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1739]
/usr/share/lvm2-testsuite/shell/unknown-segment.sh:20:31: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 4
#   19|   
#   20|-> lvcreate -an -Zn -l 1 -n $lv1 $vg
#   21|   lvcreate -an -Zn -l 2 --type mirror -m 1 -n $lv2 $vg
#   22|   lvcreate -an -Zn --type zero -l 1 -n $lv3 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1740]
/usr/share/lvm2-testsuite/shell/unknown-segment.sh:21:45: warning[SC2154]: lv2 is referenced but not assigned.
#   19|   
#   20|   lvcreate -an -Zn -l 1 -n $lv1 $vg
#   21|-> lvcreate -an -Zn -l 2 --type mirror -m 1 -n $lv2 $vg
#   22|   lvcreate -an -Zn --type zero -l 1 -n $lv3 $vg
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1741]
/usr/share/lvm2-testsuite/shell/unknown-segment.sh:22:38: warning[SC2154]: lv3 is referenced but not assigned.
#   20|   lvcreate -an -Zn -l 1 -n $lv1 $vg
#   21|   lvcreate -an -Zn -l 2 --type mirror -m 1 -n $lv2 $vg
#   22|-> lvcreate -an -Zn --type zero -l 1 -n $lv3 $vg
#   23|   
#   24|   vgcfgbackup -f bak0 $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1742]
/usr/share/lvm2-testsuite/shell/unlost-pv.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1743]
/usr/share/lvm2-testsuite/shell/unlost-pv.sh:20:52: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 3
#   19|   
#   20|-> lvcreate -an -Zn --type mirror -m 1 -l 1 -n mirror $vg
#   21|   
#   22|   # try orphaning a missing PV (bz45867)

Error: SHELLCHECK_WARNING (CWE-457): [#def1744]
/usr/share/lvm2-testsuite/shell/unlost-pv.sh:23:18: warning[SC2154]: dev1 is referenced but not assigned.
#   21|   
#   22|   # try orphaning a missing PV (bz45867)
#   23|-> aux disable_dev "$dev1"
#   24|   vgreduce --removemissing --force $vg
#   25|   aux enable_dev "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1745]
/usr/share/lvm2-testsuite/shell/vdo-autoumount-dmeventd.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1746]
/usr/share/lvm2-testsuite/shell/vdo-autoumount-dmeventd.sh:27:15: warning[SC2154]: vg is referenced but not assigned.
#   25|   	test -z "$PID_SLEEP" || { kill "$PID_SLEEP" || true ; }
#   26|   	umount "$mntdir" 2>/dev/null || true
#   27|-> 	vgremove -ff $vg
#   28|   	aux teardown
#   29|   }

Error: SHELLCHECK_WARNING (CWE-457): [#def1747]
/usr/share/lvm2-testsuite/shell/vdo-autoumount-dmeventd.sh:75:29: warning[SC2154]: lv1 is referenced but not assigned.
#   73|   aux prepare_vg 1 9000
#   74|   
#   75|-> lvcreate --vdo -L4G -V2G -n $lv1 $vg/vpool
#   76|   
#   77|   mkfs.ext4 -E nodiscard "$DM_DEV_DIR/$vg/$lv1"

Error: SHELLCHECK_WARNING (CWE-398): [#def1748]
/usr/share/lvm2-testsuite/shell/vdo-autoumount-dmeventd.sh:92:1: warning[SC2217]: Redirecting to 'sleep', a command that doesn't read stdin. Bad quoting, wrong command or missing xargs?
#   90|   
#   91|   # Running 'keeper' process sleep holds the block device still in use
#   92|-> sleep 60 < "$mntdir/file$$" >/dev/null 2>&1 &
#   93|   PID_SLEEP=$!
#   94|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1749]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1750]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:65:10: warning[SC2154]: vg is referenced but not assigned.
#   63|   #  In this case we do not need to move any VDO headers.
#   64|   #
#   65|-> vgcreate $vg "$dev1"
#   66|   
#   67|   lvcreate -L5G -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1751]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:65:15: warning[SC2154]: dev1 is referenced but not assigned.
#   63|   #  In this case we do not need to move any VDO headers.
#   64|   #
#   65|-> vgcreate $vg "$dev1"
#   66|   
#   67|   lvcreate -L5G -n $lv1 $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1752]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:67:18: warning[SC2154]: lv1 is referenced but not assigned.
#   65|   vgcreate $vg "$dev1"
#   66|   
#   67|-> lvcreate -L5G -n $lv1 $vg
#   68|   
#   69|   # use some not so 'well' aligned virtual|logical size

Error: SHELLCHECK_WARNING (CWE-457): [#def1753]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:75:33: warning[SC2154]: vg1 is referenced but not assigned.
#   73|   ##XXXXX
#   74|   # Different VG name fails
#   75|-> not lvm_import_vdo -y -v --name $vg1/$lv1 "$DM_DEV_DIR/$vg/$lv1"
#   76|   
#   77|   # Try just dry run and observe logging

Error: SHELLCHECK_WARNING (CWE-457): [#def1754]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:93:30: warning[SC2154]: lv2 is referenced but not assigned.
#   91|   vdo create $VDOCONF --name "$VDONAME" --device "$DM_DEV_DIR/$vg/$lv1" --vdoSlabSize 128M --vdoLogicalSize 10G
#   92|   
#   93|-> lvm_import_vdo -y --name $vg/$lv2 "$DM_DEV_DIR/$vg/$lv1"
#   94|   
#   95|   check lv_exists $vg $lv2

Error: SHELLCHECK_WARNING (CWE-457): [#def1755]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:106:10: warning[SC2154]: vg2 is referenced but not assigned.
#  104|   
#  105|   # prepare 'unused' $vg2
#  106|-> vgcreate $vg2 "$dev2"
#  107|   
#  108|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def1756]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:106:16: warning[SC2154]: dev2 is referenced but not assigned.
#  104|   
#  105|   # prepare 'unused' $vg2
#  106|-> vgcreate $vg2 "$dev2"
#  107|   
#  108|   #

Error: SHELLCHECK_WARNING (CWE-156): [#def1757]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:156:40: warning[SC2046]: Quote this to prevent word splitting.
#  154|   # let's assume users with VDO target have 'new' enough version of stat too
#  155|   # otherwise use more universal code from lvm_vdo_import
#  156|-> read major minor < <(stat -c '%Hr %Lr' $(readlink -e "$dev1"))
#  157|   dmsetup create "$PREFIX-vdotest" --table "0 30280004 linear $major:$minor 32"
#  158|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1758]
/usr/share/lvm2-testsuite/shell/vdo-convert.sh:213:86: warning[SC2154]: lv is referenced but not assigned.
#  211|   # Use old vdoprepareforlvm tool, that always moves header to 2M offset
#  212|   cp "$VDO_CONFIG" "$VDO_CONFIG.backup"
#  213|-> lvm_import_vdo --abort-after-vdo-convert --vdo-config "$VDO_CONFIG" -v -y --name $vg/$lv "$TEST"
#  214|   rm -f debug.log*
#  215|   # Restore VDO configuration (as it's been removed with successful vdo conversion

Error: SHELLCHECK_WARNING (CWE-563): [#def1759]
/usr/share/lvm2-testsuite/shell/vdo-scsi-convert.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test conversion of VDO volumes made by vdo manager into VDO LV.
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1760]
/usr/share/lvm2-testsuite/shell/vdo-scsi-convert.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1761]
/usr/share/lvm2-testsuite/shell/vdo-scsi-convert.sh:79:39: warning[SC2154]: lv1 is referenced but not assigned.
#   77|   mkfs.ext4 -E nodiscard "$DM_DEV_DIR/mapper/$VDONAME"
#   78|   # Try just dry run and observe logging
#   79|-> lvm_import_vdo --dry-run -y -v --name $lv1 "$SCSI_DEV"
#   80|   
#   81|   lvm_import_vdo -y --name $vg/$lv "$SCSI_DEV"

Error: SHELLCHECK_WARNING (CWE-457): [#def1762]
/usr/share/lvm2-testsuite/shell/vdo-scsi-convert.sh:81:26: warning[SC2154]: vg is referenced but not assigned.
#   79|   lvm_import_vdo --dry-run -y -v --name $lv1 "$SCSI_DEV"
#   80|   
#   81|-> lvm_import_vdo -y --name $vg/$lv "$SCSI_DEV"
#   82|   check lv_field $vg/$lv size "6.00m"
#   83|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1763]
/usr/share/lvm2-testsuite/shell/vdo-scsi-convert.sh:81:30: warning[SC2154]: lv is referenced but not assigned.
#   79|   lvm_import_vdo --dry-run -y -v --name $lv1 "$SCSI_DEV"
#   80|   
#   81|-> lvm_import_vdo -y --name $vg/$lv "$SCSI_DEV"
#   82|   check lv_field $vg/$lv size "6.00m"
#   83|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1764]
/usr/share/lvm2-testsuite/shell/vg-check-devs-used.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1765]
/usr/share/lvm2-testsuite/shell/vg-name-from-env.sh:9:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#    7|   # of the GNU General Public License v.2.
#    8|   
#    9|-> test_description='Test the vg name for an lv from env var'
#   10|   
#   11|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1766]
/usr/share/lvm2-testsuite/shell/vg-name-from-env.sh:11:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    9|   test_description='Test the vg name for an lv from env var'
#   10|   
#   11|-> SKIP_WITH_LVMPOLLD=1
#   12|   
#   13|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1767]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-1.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test VG takeover with raid LVs'
#   14|   
#   15|   # test does not apply to lvmlockd

Error: SHELLCHECK_WARNING (CWE-563): [#def1768]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-1.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   # test does not apply to lvmlockd
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   SKIP_WITH_LVMPOLLD=1
#   18|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1769]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-1.sh:17:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   15|   # test does not apply to lvmlockd
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|-> SKIP_WITH_LVMPOLLD=1
#   18|   
#   19|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1770]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-2.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test VG takeover with raid LVs'
#   14|   
#   15|   CONTINUE_ELSEWHERE=y

Error: SHELLCHECK_WARNING (CWE-563): [#def1771]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-2.sh:15:1: warning[SC2034]: CONTINUE_ELSEWHERE appears unused. Verify use (or export if used externally).
#   13|   test_description='Test VG takeover with raid LVs'
#   14|   
#   15|-> CONTINUE_ELSEWHERE=y
#   16|   PREPARE_DEVS=4
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1772]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-2.sh:16:1: warning[SC2034]: PREPARE_DEVS appears unused. Verify use (or export if used externally).
#   14|   
#   15|   CONTINUE_ELSEWHERE=y
#   16|-> PREPARE_DEVS=4
#   17|   
#   18|   . ./shell/vg-raid-takeover-1.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def1773]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-3.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test VG takeover with raid LVs'
#   14|   
#   15|   CONTINUE_ELSEWHERE=y

Error: SHELLCHECK_WARNING (CWE-563): [#def1774]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-3.sh:15:1: warning[SC2034]: CONTINUE_ELSEWHERE appears unused. Verify use (or export if used externally).
#   13|   test_description='Test VG takeover with raid LVs'
#   14|   
#   15|-> CONTINUE_ELSEWHERE=y
#   16|   
#   17|   . ./shell/vg-raid-takeover-1.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def1775]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-4.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test VG takeover with raid LVs'
#   14|   
#   15|   CONTINUE_ELSEWHERE=y

Error: SHELLCHECK_WARNING (CWE-563): [#def1776]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-4.sh:15:1: warning[SC2034]: CONTINUE_ELSEWHERE appears unused. Verify use (or export if used externally).
#   13|   test_description='Test VG takeover with raid LVs'
#   14|   
#   15|-> CONTINUE_ELSEWHERE=y
#   16|   PREPARE_DEVS=4
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1777]
/usr/share/lvm2-testsuite/shell/vg-raid-takeover-4.sh:16:1: warning[SC2034]: PREPARE_DEVS appears unused. Verify use (or export if used externally).
#   14|   
#   15|   CONTINUE_ELSEWHERE=y
#   16|-> PREPARE_DEVS=4
#   17|   
#   18|   . ./shell/vg-raid-takeover-1.sh

Error: SHELLCHECK_WARNING (CWE-563): [#def1778]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1779]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:23:30: warning[SC2154]: dev4 is referenced but not assigned.
#   21|   if test -n "$LVM_TEST_LVM1" ; then
#   22|   
#   23|-> pvcreate --metadatacopies 0 "$dev4"
#   24|   
#   25|   # No automatic backup

Error: SHELLCHECK_WARNING (CWE-457): [#def1780]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:31:23: warning[SC2154]: vg is referenced but not assigned.
#   29|   
#   30|   pvcreate -M1 "${DEVICES[@]}"
#   31|-> vgcreate $SHARED -M1 "$vg" "${DEVICES[@]}"
#   32|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   33|   pvremove -ff -y "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1781]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:32:17: warning[SC2154]: lv1 is referenced but not assigned.
#   30|   pvcreate -M1 "${DEVICES[@]}"
#   31|   vgcreate $SHARED -M1 "$vg" "${DEVICES[@]}"
#   32|-> lvcreate -l1 -n $lv1 $vg "$dev1"
#   33|   pvremove -ff -y "$dev2"
#   34|   not lvcreate -l1 -n $lv1 $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1782]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:32:27: warning[SC2154]: dev1 is referenced but not assigned.
#   30|   pvcreate -M1 "${DEVICES[@]}"
#   31|   vgcreate $SHARED -M1 "$vg" "${DEVICES[@]}"
#   32|-> lvcreate -l1 -n $lv1 $vg "$dev1"
#   33|   pvremove -ff -y "$dev2"
#   34|   not lvcreate -l1 -n $lv1 $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1783]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:33:18: warning[SC2154]: dev2 is referenced but not assigned.
#   31|   vgcreate $SHARED -M1 "$vg" "${DEVICES[@]}"
#   32|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   33|-> pvremove -ff -y "$dev2"
#   34|   not lvcreate -l1 -n $lv1 $vg "$dev3"
#   35|   lvchange -an $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1784]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-lvm1.sh:34:31: warning[SC2154]: dev3 is referenced but not assigned.
#   32|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   33|   pvremove -ff -y "$dev2"
#   34|-> not lvcreate -l1 -n $lv1 $vg "$dev3"
#   35|   lvchange -an $vg
#   36|   vgcfgbackup -f "backup.$$" $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1785]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1786]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:21:30: warning[SC2154]: dev4 is referenced but not assigned.
#   19|   get_devs
#   20|   
#   21|-> pvcreate --metadatacopies 0 "$dev4"
#   22|   
#   23|   # No automatic backup

Error: SHELLCHECK_WARNING (CWE-457): [#def1787]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:29:24: warning[SC2154]: dev1 is referenced but not assigned.
#   27|   vg1=${PREFIX}vg00
#   28|   vg2=${PREFIX}vg01
#   29|-> vgcreate $SHARED $vg1 "$dev1"
#   30|   vgcreate $SHARED $vg2 "$dev2"
#   31|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1788]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:30:24: warning[SC2154]: dev2 is referenced but not assigned.
#   28|   vg2=${PREFIX}vg01
#   29|   vgcreate $SHARED $vg1 "$dev1"
#   30|-> vgcreate $SHARED $vg2 "$dev2"
#   31|   
#   32|   # Enforces system backup

Error: SHELLCHECK_WARNING (CWE-457): [#def1789]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:61:19: warning[SC2154]: vg is referenced but not assigned.
#   59|   pv1_uuid=$(get pv_field "$dev1" pv_uuid)
#   60|   pv2_uuid=$(get pv_field "$dev2" pv_uuid)
#   61|-> vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   62|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   63|   lvcreate -l1 -n $lv2 $vg "$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1790]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:62:17: warning[SC2154]: lv1 is referenced but not assigned.
#   60|   pv2_uuid=$(get pv_field "$dev2" pv_uuid)
#   61|   vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   62|-> lvcreate -l1 -n $lv1 $vg "$dev1"
#   63|   lvcreate -l1 -n $lv2 $vg "$dev2"
#   64|   lvcreate -l1 -n $lv3 $vg "$dev3"

Error: SHELLCHECK_WARNING (CWE-457): [#def1791]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:63:17: warning[SC2154]: lv2 is referenced but not assigned.
#   61|   vgcreate $SHARED "$vg" "${DEVICES[@]}"
#   62|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   63|-> lvcreate -l1 -n $lv2 $vg "$dev2"
#   64|   lvcreate -l1 -n $lv3 $vg "$dev3"
#   65|   vgchange -a n $vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1792]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:64:17: warning[SC2154]: lv3 is referenced but not assigned.
#   62|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   63|   lvcreate -l1 -n $lv2 $vg "$dev2"
#   64|-> lvcreate -l1 -n $lv3 $vg "$dev3"
#   65|   vgchange -a n $vg
#   66|   pvcreate -ff -y "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1793]
/usr/share/lvm2-testsuite/shell/vgcfgbackup-usage.sh:64:27: warning[SC2154]: dev3 is referenced but not assigned.
#   62|   lvcreate -l1 -n $lv1 $vg "$dev1"
#   63|   lvcreate -l1 -n $lv2 $vg "$dev2"
#   64|-> lvcreate -l1 -n $lv3 $vg "$dev3"
#   65|   vgchange -a n $vg
#   66|   pvcreate -ff -y "$dev1"

Error: SHELLCHECK_WARNING (CWE-563): [#def1794]
/usr/share/lvm2-testsuite/shell/vgchange-many.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Check performance of activation and deactivation
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1795]
/usr/share/lvm2-testsuite/shell/vgchange-many.sh:27:27: warning[SC2154]: vg is referenced but not assigned.
#   25|   get_devs
#   26|   
#   27|-> vgcreate $SHARED -s 128K "$vg" "${DEVICES[@]}"
#   28|   
#   29|   vgcfgbackup -f data $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1796]
/usr/share/lvm2-testsuite/shell/vgchange-maxlv.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1797]
/usr/share/lvm2-testsuite/shell/vgchange-maxlv.sh:22:24: warning[SC2154]: vg is referenced but not assigned.
#   20|   get_devs
#   21|   
#   22|-> vgcreate $SHARED -l 2 "$vg" "${DEVICES[@]}"
#   23|   lvcreate -aey -n one -l 1 $vg
#   24|   lvcreate -n two -l 1 $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1798]
/usr/share/lvm2-testsuite/shell/vgchange-partial.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1799]
/usr/share/lvm2-testsuite/shell/vgchange-partial.sh:20:18: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   aux prepare_vg 2
#   19|   
#   20|-> aux disable_dev "$dev1"
#   21|   
#   22|   #

Error: SHELLCHECK_WARNING (CWE-457): [#def1800]
/usr/share/lvm2-testsuite/shell/vgchange-partial.sh:26:23: warning[SC2154]: vg is referenced but not assigned.
#   24|   # addtag_ARG
#   25|   # deltag_ARG
#   26|-> vgchange --addtag foo $vg
#   27|   vgchange --deltag foo $vg
#   28|   

Error: SHELLCHECK_WARNING (CWE-758): [#def1801]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> SKIP_WITH_LVMPOLLD=1
#    2|   SKIP_WITH_LVMLOCKD=1
#    3|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1802]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:1:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#    1|-> SKIP_WITH_LVMPOLLD=1
#    2|   SKIP_WITH_LVMLOCKD=1
#    3|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1803]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:2:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#    1|   SKIP_WITH_LVMPOLLD=1
#    2|-> SKIP_WITH_LVMLOCKD=1
#    3|   
#    4|   RUNDIR="/run"

Error: SHELLCHECK_WARNING (CWE-457): [#def1804]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:35:36: warning[SC2154]: dev1 is referenced but not assigned.
#   33|   	"global/event_activation = 1"
#   34|   
#   35|-> bd1="$DM_DEV_DIR/mapper/$(basename $dev1)"
#   36|   bd2="$DM_DEV_DIR/mapper/$(basename $dev2)"
#   37|   bd3="$DM_DEV_DIR/mapper/$(basename $dev3)"

Error: SHELLCHECK_WARNING (CWE-457): [#def1805]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:36:36: warning[SC2154]: dev2 is referenced but not assigned.
#   34|   
#   35|   bd1="$DM_DEV_DIR/mapper/$(basename $dev1)"
#   36|-> bd2="$DM_DEV_DIR/mapper/$(basename $dev2)"
#   37|   bd3="$DM_DEV_DIR/mapper/$(basename $dev3)"
#   38|   bd4="$DM_DEV_DIR/mapper/$(basename $dev4)"

Error: SHELLCHECK_WARNING (CWE-457): [#def1806]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:37:36: warning[SC2154]: dev3 is referenced but not assigned.
#   35|   bd1="$DM_DEV_DIR/mapper/$(basename $dev1)"
#   36|   bd2="$DM_DEV_DIR/mapper/$(basename $dev2)"
#   37|-> bd3="$DM_DEV_DIR/mapper/$(basename $dev3)"
#   38|   bd4="$DM_DEV_DIR/mapper/$(basename $dev4)"
#   39|   aux extend_filter "a|$bd1|" "a|$bd2|" "a|$bd3|" "a|$bd4|"

Error: SHELLCHECK_WARNING (CWE-457): [#def1807]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:38:36: warning[SC2154]: dev4 is referenced but not assigned.
#   36|   bd2="$DM_DEV_DIR/mapper/$(basename $dev2)"
#   37|   bd3="$DM_DEV_DIR/mapper/$(basename $dev3)"
#   38|-> bd4="$DM_DEV_DIR/mapper/$(basename $dev4)"
#   39|   aux extend_filter "a|$bd1|" "a|$bd2|" "a|$bd3|" "a|$bd4|"
#   40|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1808]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:58:10: warning[SC2154]: vg1 is referenced but not assigned.
#   56|   # and the devices file entry uses devname with a stale name.
#   57|   
#   58|-> vgcreate $vg1 "$bd1" "$bd2"
#   59|   vgcreate $vg2 "$bd3"
#   60|   pvcreate "$bd4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1809]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:59:10: warning[SC2154]: vg2 is referenced but not assigned.
#   57|   
#   58|   vgcreate $vg1 "$bd1" "$bd2"
#   59|-> vgcreate $vg2 "$bd3"
#   60|   pvcreate "$bd4"
#   61|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1810]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:62:17: warning[SC2154]: lv1 is referenced but not assigned.
#   60|   pvcreate "$bd4"
#   61|   
#   62|-> lvcreate -l1 -n $lv1 -an $vg1
#   63|   lvcreate -l1 -n $lv2 -an $vg1
#   64|   lvcreate -l1 -n $lv1 -an $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def1811]
/usr/share/lvm2-testsuite/shell/vgchange-pvs-online.sh:63:17: warning[SC2154]: lv2 is referenced but not assigned.
#   61|   
#   62|   lvcreate -l1 -n $lv1 -an $vg1
#   63|-> lvcreate -l1 -n $lv2 -an $vg1
#   64|   lvcreate -l1 -n $lv1 -an $vg2
#   65|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1812]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:13:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_CLVMD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1813]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_CLVMD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1814]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:22:23: warning[SC2154]: vg1 is referenced but not assigned.
#   20|   aux prepare_pvs 2 8
#   21|   
#   22|-> var_lock="$DM_DEV_DIR/$vg1/$lv1"
#   23|   # keep in sync with aux configured lockingdir
#   24|   mount_dir="var/lock/lvm"

Error: SHELLCHECK_WARNING (CWE-457): [#def1815]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:22:28: warning[SC2154]: lv1 is referenced but not assigned.
#   20|   aux prepare_pvs 2 8
#   21|   
#   22|-> var_lock="$DM_DEV_DIR/$vg1/$lv1"
#   23|   # keep in sync with aux configured lockingdir
#   24|   mount_dir="var/lock/lvm"

Error: SHELLCHECK_WARNING (CWE-457): [#def1816]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:34:24: warning[SC2154]: dev1 is referenced but not assigned.
#   32|   }
#   33|   
#   34|-> vgcreate $SHARED $vg1 "$dev1"
#   35|   vgcreate $SHARED $vg2 "$dev2"
#   36|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1817]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:35:18: warning[SC2154]: vg2 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev1"
#   35|-> vgcreate $SHARED $vg2 "$dev2"
#   36|   
#   37|   lvcreate -l 1 -n $lv2 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def1818]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:35:24: warning[SC2154]: dev2 is referenced but not assigned.
#   33|   
#   34|   vgcreate $SHARED $vg1 "$dev1"
#   35|-> vgcreate $SHARED $vg2 "$dev2"
#   36|   
#   37|   lvcreate -l 1 -n $lv2 $vg2

Error: SHELLCHECK_WARNING (CWE-457): [#def1819]
/usr/share/lvm2-testsuite/shell/vgchange-sysinit.sh:37:18: warning[SC2154]: lv2 is referenced but not assigned.
#   35|   vgcreate $SHARED $vg2 "$dev2"
#   36|   
#   37|-> lvcreate -l 1 -n $lv2 $vg2
#   38|   vgchange -an $vg2
#   39|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1820]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise some vgchange diagnostics'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1821]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise some vgchange diagnostics'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1822]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:21:30: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   aux prepare_pvs 4
#   20|   
#   21|-> pvcreate --metadatacopies 0 "$dev1"
#   22|   vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   23|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1823]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:22:24: warning[SC2154]: vg is referenced but not assigned.
#   20|   
#   21|   pvcreate --metadatacopies 0 "$dev1"
#   22|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   23|   
#   24|   # cannot change anything in exported vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1824]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:22:37: warning[SC2154]: dev2 is referenced but not assigned.
#   20|   
#   21|   pvcreate --metadatacopies 0 "$dev1"
#   22|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   23|   
#   24|   # cannot change anything in exported vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1825]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:22:45: warning[SC2154]: dev3 is referenced but not assigned.
#   20|   
#   21|   pvcreate --metadatacopies 0 "$dev1"
#   22|-> vgcreate $SHARED -s 4M $vg "$dev1" "$dev2" "$dev3"
#   23|   
#   24|   # cannot change anything in exported vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1826]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:75:17: warning[SC2154]: lv1 is referenced but not assigned.
#   73|   
#   74|   # vgchange -s
#   75|-> lvcreate -l4 -n $lv1 $vg
#   76|   lvcreate -l4 -n $lv2 $vg
#   77|   SIZELV2=$(get lv_field $vg/$lv2 size)

Error: SHELLCHECK_WARNING (CWE-457): [#def1827]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:76:17: warning[SC2154]: lv2 is referenced but not assigned.
#   74|   # vgchange -s
#   75|   lvcreate -l4 -n $lv1 $vg
#   76|-> lvcreate -l4 -n $lv2 $vg
#   77|   SIZELV2=$(get lv_field $vg/$lv2 size)
#   78|   check lv_field $vg/$lv2 seg_size_pe "4"

Error: SHELLCHECK_WARNING (CWE-457): [#def1828]
/usr/share/lvm2-testsuite/shell/vgchange-usage.sh:96:20: warning[SC2154]: dev4 is referenced but not assigned.
#   94|   check vg_attr_bit resizeable $vg "-"
#   95|   fail vgchange -x n $vg
#   96|-> fail vgextend $vg "$dev4"
#   97|   vgremove -ff $vg

Error: SHELLCHECK_WARNING (CWE-563): [#def1829]
/usr/share/lvm2-testsuite/shell/vgck.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1830]
/usr/share/lvm2-testsuite/shell/vgck.sh:19:25: warning[SC2154]: vg is referenced but not assigned.
#   17|   
#   18|   aux prepare_vg 3
#   19|-> lvcreate -n blabla -L 1 $vg
#   20|   
#   21|   dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2"

Error: SHELLCHECK_WARNING (CWE-457): [#def1831]
/usr/share/lvm2-testsuite/shell/vgck.sh:21:47: warning[SC2154]: dev2 is referenced but not assigned.
#   19|   lvcreate -n blabla -L 1 $vg
#   20|   
#   21|-> dd if=/dev/urandom bs=512 seek=2 count=32 of="$dev2"
#   22|   
#   23|   # TODO: aux lvmconf "global/locking_type = 4"

Error: SHELLCHECK_WARNING (CWE-563): [#def1832]
/usr/share/lvm2-testsuite/shell/vgcreate-many-pvs.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1833]
/usr/share/lvm2-testsuite/shell/vgcreate-many-pvs.sh:53:17: warning[SC2154]: lv1 is referenced but not assigned.
#   51|   pvs
#   52|   
#   53|-> lvcreate -l1 -n $lv1 $vg
#   54|   
#   55|   lvremove -f $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-457): [#def1834]
/usr/share/lvm2-testsuite/shell/vgcreate-many-pvs.sh:53:22: warning[SC2154]: vg is referenced but not assigned.
#   51|   pvs
#   52|   
#   53|-> lvcreate -l1 -n $lv1 $vg
#   54|   
#   55|   lvremove -f $vg/$lv1

Error: SHELLCHECK_WARNING (CWE-563): [#def1835]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Exercise some vgcreate diagnostics'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1836]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Exercise some vgcreate diagnostics'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1837]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:20:11: warning[SC2154]: dev1 is referenced but not assigned.
#   18|   
#   19|   aux prepare_devs 3
#   20|-> pvcreate "$dev1" "$dev2"
#   21|   pvcreate --metadatacopies 0 "$dev3"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1838]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:20:19: warning[SC2154]: dev2 is referenced but not assigned.
#   18|   
#   19|   aux prepare_devs 3
#   20|-> pvcreate "$dev1" "$dev2"
#   21|   pvcreate --metadatacopies 0 "$dev3"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1839]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:21:30: warning[SC2154]: dev3 is referenced but not assigned.
#   19|   aux prepare_devs 3
#   20|   pvcreate "$dev1" "$dev2"
#   21|-> pvcreate --metadatacopies 0 "$dev3"
#   22|   
#   23|   vg=${PREFIX}vg

Error: SHELLCHECK_WARNING (CWE-457): [#def1840]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:161:18: warning[SC2154]: vg1 is referenced but not assigned.
#  159|   
#  160|   # vgcreate $SHARED fails if pv belongs to existing vg
#  161|-> vgcreate $SHARED $vg1 "$dev1" "$dev2"
#  162|   not vgcreate $SHARED $vg2 "$dev2"
#  163|   vgremove -f $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1841]
/usr/share/lvm2-testsuite/shell/vgcreate-usage.sh:162:22: warning[SC2154]: vg2 is referenced but not assigned.
#  160|   # vgcreate $SHARED fails if pv belongs to existing vg
#  161|   vgcreate $SHARED $vg1 "$dev1" "$dev2"
#  162|-> not vgcreate $SHARED $vg2 "$dev2"
#  163|   vgremove -f $vg1
#  164|   pvremove -f "$dev1" "$dev2"

Error: SHELLCHECK_WARNING (CWE-563): [#def1842]
/usr/share/lvm2-testsuite/shell/vgextend-restoremissing.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1843]
/usr/share/lvm2-testsuite/shell/vgextend-restoremissing.sh:20:52: warning[SC2154]: vg is referenced but not assigned.
#   18|   aux prepare_vg 3
#   19|   
#   20|-> lvcreate -an -Zn --type mirror -m 1 -l 1 -n mirror $vg
#   21|   lvcreate -l 1 -n lv1 $vg "$dev1"
#   22|   

Error: SHELLCHECK_WARNING (CWE-457): [#def1844]
/usr/share/lvm2-testsuite/shell/vgextend-restoremissing.sh:21:27: warning[SC2154]: dev1 is referenced but not assigned.
#   19|   
#   20|   lvcreate -an -Zn --type mirror -m 1 -l 1 -n mirror $vg
#   21|-> lvcreate -l 1 -n lv1 $vg "$dev1"
#   22|   
#   23|   # vgextend require vgname

Error: SHELLCHECK_WARNING (CWE-457): [#def1845]
/usr/share/lvm2-testsuite/shell/vgextend-restoremissing.sh:44:30: warning[SC2154]: dev2 is referenced but not assigned.
#   42|   not lvcreate -aey --type mirror -m 1 -l 1 -n mirror $vg # write operations fail
#   43|   # try restore the non-missing device
#   44|-> fail vgextend --restore $vg "$dev2"
#   45|   # try restore the non-existing device
#   46|   fail vgextend --restore $vg "$dev2-invalid"

Error: SHELLCHECK_WARNING (CWE-457): [#def1846]
/usr/share/lvm2-testsuite/shell/vgextend-restoremissing.sh:50:16: warning[SC2154]: dev3 is referenced but not assigned.
#   48|   vgextend --restore $vg "$dev1"
#   49|   
#   50|-> vgreduce  $vg "$dev3"
#   51|   vgchange --metadatacopies 1 $vg
#   52|   # 'n' failing to change volume group

Error: SHELLCHECK_WARNING (CWE-563): [#def1847]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:18:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   16|   
#   17|   
#   18|-> SKIP_WITH_LVMPOLLD=1
#   19|   
#   20|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1848]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:34:22: warning[SC2154]: dev1 is referenced but not assigned.
#   32|   
#   33|   # Explicit pvcreate
#   34|-> pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|   vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1849]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:34:30: warning[SC2154]: dev2 is referenced but not assigned.
#   32|   
#   33|   # Explicit pvcreate
#   34|-> pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|   vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1850]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:34:38: warning[SC2154]: dev3 is referenced but not assigned.
#   32|   
#   33|   # Explicit pvcreate
#   34|-> pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|   vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1851]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:34:46: warning[SC2154]: dev4 is referenced but not assigned.
#   32|   
#   33|   # Explicit pvcreate
#   34|-> pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|   vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1852]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:34:54: warning[SC2154]: dev5 is referenced but not assigned.
#   32|   
#   33|   # Explicit pvcreate
#   34|-> pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|   vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"

Error: SHELLCHECK_WARNING (CWE-457): [#def1853]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:35:29: warning[SC2154]: vg1 is referenced but not assigned.
#   33|   # Explicit pvcreate
#   34|   pvcreate -M$mdatype "$dev1" "$dev2" "$dev3" "$dev4" "$dev5"
#   35|-> vgcreate $SHARED -M$mdatype $vg1 "$dev1" "$dev2"
#   36|   vgextend $vg1 "$dev3" "$dev4" "$dev5"
#   37|   vgremove -ff $vg1

Error: SHELLCHECK_WARNING (CWE-457): [#def1854]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:51:18: warning[SC2154]: vg is referenced but not assigned.
#   49|   # --force, --yes, --metadata{size|copies|type}, --zero
#   50|   # --dataalignment[offset]
#   51|-> vgcreate $SHARED $vg "$dev2"
#   52|   vgextend --force --yes --zero y $vg "$dev1"
#   53|   vgreduce $vg "$dev1"

Error: SHELLCHECK_WARNING (CWE-457): [#def1855]
/usr/share/lvm2-testsuite/shell/vgextend-usage.sh:91:18: warning[SC2154]: vg2 is referenced but not assigned.
#   89|   # vgextend fails if pv belongs to existing vg
#   90|   vgcreate $SHARED $vg1 "$dev1" "$dev3"
#   91|-> vgcreate $SHARED $vg2 "$dev2"
#   92|   not vgextend $vg2 "$dev3"
#   93|   vgremove -f $vg1

Error: SHELLCHECK_WARNING (CWE-563): [#def1856]
/usr/share/lvm2-testsuite/shell/vgimportclone.sh:13:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMPOLLD=1
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-457): [#def1857]
/usr/share/lvm2-testsuite/shell/vgimportclone.sh:19:38: warning[SC2154]: vg1 is referenced but not assigned.
#   17|   aux prepare_devs 3
#   18|   
#   19|-> vgcreate $SHARED --metadatasize 128k $vg1 "$dev1"
#   20|   lvcreate -l100%FREE -n $lv1 $vg1
#   21|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1858]
/usr/share/lvm2-testsuite/shell/vgimportdevices.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='vgimportdevices'
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1859]
/usr/share/lvm2-testsuite/shell/vgimportdevices.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='vgimportdevices'
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1860]
/usr/share/lvm2-testsuite/shell/vgmerge-operation.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Test vgmerge operation'
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1861]
/usr/share/lvm2-testsuite/shell/vgmerge-operation.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   test_description='Test vgmerge operation'
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1862]
/usr/share/lvm2-testsuite/shell/vgmerge-operation.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   test_description='Test vgmerge operation'
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1863]
/usr/share/lvm2-testsuite/shell/vgmerge-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   # 'Test vgmerge command options for validity'
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1864]
/usr/share/lvm2-testsuite/shell/vgmerge-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # 'Test vgmerge command options for validity'
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1865]
/usr/share/lvm2-testsuite/shell/vgreduce-removemissing-snapshot.sh:14:1: warning[SC2034]: SKIP_WITH_CLVMD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_CLVMD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1866]
/usr/share/lvm2-testsuite/shell/vgreduce-removemissing-snapshot.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_CLVMD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1867]
/usr/share/lvm2-testsuite/shell/vgreduce-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1868]
/usr/share/lvm2-testsuite/shell/vgremove-corrupt-vg.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1869]
/usr/share/lvm2-testsuite/shell/vgrename-usage.sh:13:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> SKIP_WITH_LVMLOCKD=1
#   14|   SKIP_WITH_LVMPOLLD=1
#   15|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1870]
/usr/share/lvm2-testsuite/shell/vgrename-usage.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   SKIP_WITH_LVMLOCKD=1
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1871]
/usr/share/lvm2-testsuite/shell/vgsplit-cache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit command options with cached volumes
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1872]
/usr/share/lvm2-testsuite/shell/vgsplit-cache.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1873]
/usr/share/lvm2-testsuite/shell/vgsplit-operation.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit operation, including different LV types
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1874]
/usr/share/lvm2-testsuite/shell/vgsplit-operation.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1875]
/usr/share/lvm2-testsuite/shell/vgsplit-operation.sh:23:2: warning[SC2034]: LAST_TEST appears unused. Verify use (or export if used externally).
#   21|   
#   22|   COMM() {
#   23|-> 	LAST_TEST="$*"
#   24|   }
#   25|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1876]
/usr/share/lvm2-testsuite/shell/vgsplit-raid.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   # Test vgsplit operation, including different LV types
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1877]
/usr/share/lvm2-testsuite/shell/vgsplit-raid.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit operation, including different LV types
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1878]
/usr/share/lvm2-testsuite/shell/vgsplit-raid.sh:20:2: warning[SC2034]: LAST_TEST appears unused. Verify use (or export if used externally).
#   18|   
#   19|   COMM() {
#   20|-> 	LAST_TEST="$*"
#   21|   }
#   22|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1879]
/usr/share/lvm2-testsuite/shell/vgsplit-stacked.sh:14:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   12|   
#   13|   
#   14|-> SKIP_WITH_LVMPOLLD=1
#   15|   
#   16|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1880]
/usr/share/lvm2-testsuite/shell/vgsplit-thin.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit command options for validity
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1881]
/usr/share/lvm2-testsuite/shell/vgsplit-thin.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   export LVM_TEST_THIN_REPAIR_CMD=${LVM_TEST_THIN_REPAIR_CMD-/bin/false}

Error: SHELLCHECK_WARNING (CWE-563): [#def1882]
/usr/share/lvm2-testsuite/shell/vgsplit-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit command options for validity
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1883]
/usr/share/lvm2-testsuite/shell/vgsplit-usage.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1884]
/usr/share/lvm2-testsuite/shell/vgsplit-vdo.sh:15:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   13|   # Test vgsplit command options with vdo volumes
#   14|   
#   15|-> SKIP_WITH_LVMLOCKD=1
#   16|   SKIP_WITH_LVMPOLLD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1885]
/usr/share/lvm2-testsuite/shell/vgsplit-vdo.sh:16:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMLOCKD=1
#   16|-> SKIP_WITH_LVMPOLLD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1886]
/usr/share/lvm2-testsuite/shell/writecache-cache-blocksize-2.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test dm-writecache and dm-cache with different block size combinations
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1887]
/usr/share/lvm2-testsuite/shell/writecache-cache-blocksize.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test dm-writecache and dm-cache with different block size combinations
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1888]
/usr/share/lvm2-testsuite/shell/writecache-large.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test writecache usage
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1889]
/usr/share/lvm2-testsuite/shell/writecache-misc.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache options
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   SKIP_WITH_LVMLOCKD=1
#   17|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1890]
/usr/share/lvm2-testsuite/shell/writecache-misc.sh:16:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   14|   
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|-> SKIP_WITH_LVMLOCKD=1
#   17|   
#   18|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1891]
/usr/share/lvm2-testsuite/shell/writecache-split.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test single lv cache options
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1892]
/usr/share/lvm2-testsuite/shell/writecache.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   # Test writecache usage
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1893]
/usr/share/lvm2-testsuite/shell/zero-usage.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1894]
/usr/share/lvm2-testsuite/shell/zz-lvmlockd-dlm-remove.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Remove the dlm test setup'
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1895]
/usr/share/lvm2-testsuite/shell/zz-lvmlockd-idm-remove.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Remove the idm test setup'
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1896]
/usr/share/lvm2-testsuite/shell/zz-lvmlockd-sanlock-remove.sh:13:1: warning[SC2034]: test_description appears unused. Verify use (or export if used externally).
#   11|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   12|   
#   13|-> test_description='Remove the sanlock test setup'
#   14|   
#   15|   . lib/inittest

Error: SHELLCHECK_WARNING (CWE-563): [#def1897]
/usr/share/lvm2-testsuite/unit/unit-test.sh:14:1: warning[SC2034]: SKIP_WITH_LVMLOCKD appears unused. Verify use (or export if used externally).
#   12|   # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#   13|   
#   14|-> SKIP_WITH_LVMLOCKD=1
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   

Error: SHELLCHECK_WARNING (CWE-563): [#def1898]
/usr/share/lvm2-testsuite/unit/unit-test.sh:15:1: warning[SC2034]: SKIP_WITH_LVMPOLLD appears unused. Verify use (or export if used externally).
#   13|   
#   14|   SKIP_WITH_LVMLOCKD=1
#   15|-> SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|   SKIP_ROOT_DM_CHECK=1

Error: SHELLCHECK_WARNING (CWE-563): [#def1899]
/usr/share/lvm2-testsuite/unit/unit-test.sh:17:1: warning[SC2034]: SKIP_ROOT_DM_CHECK appears unused. Verify use (or export if used externally).
#   15|   SKIP_WITH_LVMPOLLD=1
#   16|   
#   17|-> SKIP_ROOT_DM_CHECK=1
#   18|   
#   19|   . lib/inittest

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1900]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2006:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
# 2004|   		exit(EXIT_DESC_OPEN_FAILURE);
# 2005|   
# 2006|-> 	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|   	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1901]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c: scope_hint: In function ‘_daemonize’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2006:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
# 2004|   		exit(EXIT_DESC_OPEN_FAILURE);
# 2005|   
# 2006|-> 	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|   	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1902]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2006:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 1)’
# 2004|   		exit(EXIT_DESC_OPEN_FAILURE);
# 2005|   
# 2006|-> 	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|   	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1903]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2006:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
# 2004|   		exit(EXIT_DESC_OPEN_FAILURE);
# 2005|   
# 2006|-> 	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|   	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1904]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2007:50: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
# 2005|   
# 2006|   	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|-> 	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))
# 2009|   		exit(EXIT_DESC_OPEN_FAILURE);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1905]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2007:50: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
# 2005|   
# 2006|   	if ((dup2(null_fd, STDIN_FILENO) == -1) ||
# 2007|-> 	    (dup2(null_fd, STDOUT_FILENO) == -1) ||
# 2008|   	    (dup2(null_fd, STDERR_FILENO) == -1))
# 2009|   		exit(EXIT_DESC_OPEN_FAILURE);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1906]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/dmeventd/dmeventd.c:2011:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
# 2009|   		exit(EXIT_DESC_OPEN_FAILURE);
# 2010|   
# 2011|-> 	if ((null_fd > STDERR_FILENO) && close(null_fd))
# 2012|   		exit(EXIT_DESC_CLOSE_FAILURE);
# 2013|   

Error: GCC_ANALYZER_WARNING: [#def1907]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockctl.c: scope_hint: In function ‘_reopen_fd_to_null’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockctl.c:541:13: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fd’
#  539|   	}
#  540|   
#  541|-> 	if (dup2(null_fd, fd) == -1) {
#  542|   		log_error("dup2 error %d", errno);
#  543|   		goto out;

Error: GCC_ANALYZER_WARNING: [#def1908]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockctl.c: scope_hint: In function ‘_run_command_pipe’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockctl.c:649:26: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
#  647|   		else if (close(STDOUT_FILENO))
#  648|   			log_error("close error STDOUT %d", errno);
#  649|-> 		else if (dup2(pipefd[1 /*write*/], STDOUT_FILENO) == -1)
#  650|   			log_error("dup2 error STDOUT %d", errno);
#  651|   		else if (close(pipefd[1]))

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1909]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c: scope_hint: In function ‘lm_prepare_lockspace_sanlock’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1489:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c: scope_hint: In function ‘lm_prepare_lockspace_sanlock’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c: scope_hint: In function ‘lm_prepare_lockspace_sanlock’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1489:25: note: read of 15 bytes from after the end of ‘lsname’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1489:25: note: valid subscripts for ‘lsname’ are ‘[0]’ to ‘[48]’
# 1487|   	if (daemon_test) {
# 1488|   		if (!gl_lsname_sanlock[0]) {
# 1489|-> 			strncpy(gl_lsname_sanlock, lsname, MAX_NAME);
# 1490|   			log_debug("S %s prepare_lockspace_san use global lock", lsname);
# 1491|   		}

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1910]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1579:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c: scope_hint: In function ‘lm_prepare_lockspace_sanlock’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c: scope_hint: In function ‘lm_prepare_lockspace_sanlock’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:19: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1505:9: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1529:17: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1579:25: note: read of 15 bytes from after the end of ‘lsname’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmlockd/lvmlockd-sanlock.c:1579:25: note: valid subscripts for ‘lsname’ are ‘[0]’ to ‘[48]’
# 1577|   				  lsname, gl_lsname_sanlock);
# 1578|   		} else {
# 1579|-> 			strncpy(gl_lsname_sanlock, lsname, MAX_NAME);
# 1580|   			log_debug("S %s prepare_lockspace_san use global lock %s",
# 1581|   				  lsname, gl_lsname_sanlock);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1911]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c: scope_hint: In function ‘fork_and_poll’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c:409:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(outfd, 1)’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c:19: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c:393:9: note: in expansion of macro ‘DEBUGLOG’
#  407|   		/* !!! Do not touch any posix thread primitives !!! */
#  408|   
#  409|-> 		if ((dup2(outfd, STDOUT_FILENO ) != STDOUT_FILENO) ||
#  410|   		    (dup2(errfd, STDERR_FILENO ) != STDERR_FILENO))
#  411|   			_exit(LVMPD_RET_DUP_FAILED);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1912]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c:409:68: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(errfd, 2)’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-core.c:393:9: note: in expansion of macro ‘DEBUGLOG’
#  407|   		/* !!! Do not touch any posix thread primitives !!! */
#  408|   
#  409|-> 		if ((dup2(outfd, STDOUT_FILENO ) != STDOUT_FILENO) ||
#  410|   		    (dup2(errfd, STDERR_FILENO ) != STDERR_FILENO))
#  411|   			_exit(LVMPD_RET_DUP_FAILED);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1913]
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-data-utils.c: scope_hint: In function ‘lvmpolld_thread_data_destroy’
lvm2-2.03.27-build/LVM2.2.03.27/daemons/lvmpolld/lvmpolld-data-utils.c:397:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
#  395|   		(void) close(data->errpipe[1]);
#  396|   
#  397|-> 	free(data);
#  398|   }

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1914]
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c: scope_hint: In function ‘_lvmcache_update_vgname’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:1935:30: warning[-Wanalyzer-null-argument]: use of NULL ‘vgid’ where non-null expected
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lib.h:30: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:17: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:95:31: note: in expansion of macro ‘LOG_LINE_WITH_CLASS’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:1908:17: note: in expansion of macro ‘log_debug_cache’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:95:31: note: in expansion of macro ‘LOG_LINE_WITH_CLASS’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:1924:25: note: in expansion of macro ‘log_debug_cache’
lvm2-2.03.27-build/LVM2.2.03.27/device_mapper/all.h:34: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lib.h:22: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null
# 1933|   			 */
# 1934|   
# 1935|-> 			if (!memcmp(other->vgid, vgid, ID_LEN)) {
# 1936|   				/* shouldn't happen since we looked up by vgid above */
# 1937|   				log_error(INTERNAL_ERROR "lvmcache_update_vgname %s %s %s %s",

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1915]
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c: scope_hint: In function ‘_lvmcache_update_vgstatus’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2036:12: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(lock_type)’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:95:31: note: in expansion of macro ‘LOG_LINE_WITH_CLASS’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2023:9: note: in expansion of macro ‘log_debug_cache’
# 2034|   	free(info->vginfo->lock_type);
# 2035|   
# 2036|-> 	if (!(info->vginfo->lock_type = strdup(lock_type))) {
# 2037|   		log_error("cache lock_type alloc failed for %s", lock_type);
# 2038|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1916]
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2054:12: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(system_id)’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:95:31: note: in expansion of macro ‘LOG_LINE_WITH_CLASS’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2041:9: note: in expansion of macro ‘log_debug_cache’
# 2052|   	free(info->vginfo->system_id);
# 2053|   
# 2054|-> 	if (!(info->vginfo->system_id = strdup(system_id))) {
# 2055|   		log_error("cache system_id alloc failed for %s", system_id);
# 2056|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1917]
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c: scope_hint: In function ‘lvmcache_add’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2516:33: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/bits/fcntl-linux.h:38: included_from: Included from here.
/usr/include/bits/fcntl.h:61: included_from: Included from here.
/usr/include/fcntl.h:35: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/device.h:21: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/dev-cache.h:19: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.h:19: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:18: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:95:31: note: in expansion of macro ‘LOG_LINE_WITH_CLASS’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c:2493:25: note: in expansion of macro ‘log_debug_cache’
lvm2-2.03.27-build/LVM2.2.03.27/lib/cache/lvmcache.c: scope_hint: In function ‘lvmcache_add’
# 2514|   				devl->dev = dev;
# 2515|   
# 2516|-> 				dm_list_add(&_initial_duplicates, &devl->list);
# 2517|   			}
# 2518|   

Error: GCC_ANALYZER_WARNING (CWE-835): [#def1918]
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/dev-type.c: scope_hint: In function ‘create_dev_types’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/dev-type.c:248:28: warning[-Wanalyzer-infinite-loop]: infinite loop
#  246|   
#  247|   		/* Find the start of the device major name */
#  248|-> 		while (line[i] != ' ' && line[i] != '\0')
#  249|   			i++;
#  250|   		while (line[i] == ' ')

Error: GCC_ANALYZER_WARNING (CWE-835): [#def1919]
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/dev-type.c:250:28: warning[-Wanalyzer-infinite-loop]: infinite loop
#  248|   		while (line[i] != ' ' && line[i] != '\0')
#  249|   			i++;
#  250|-> 		while (line[i] == ' ')
#  251|   			i++;
#  252|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1920]
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c: scope_hint: In function ‘get_pvs_online’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:189:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 328)’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lib.h:30: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:16: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:103:24: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:97:25: note: in expansion of macro ‘log_warn’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:112:25: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c: scope_hint: In function ‘get_pvs_online’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:188:17: note: in expansion of macro ‘log_debug’
#  187|   
#  188|   		log_debug("Found PV online %s for VG %s %s", path, vgname, file_devname);
#  189|-> 		dm_list_add(pvs_online, &po->list);
#  190|   	}
#  191|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1921]
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c: scope_hint: In function ‘get_pvs_lookup’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:440:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 328)’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:91:25: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:112:25: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c: scope_hint: In function ‘get_pvs_lookup’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/device/online.c:439:17: note: in expansion of macro ‘log_debug’
#  438|   
#  439|   		log_debug("Found PV online lookup %s for VG %s on %s.", path, vgname, file_devname);
#  440|-> 		dm_list_add(pvs_online, &po->list);
#  441|   	}
#  442|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1922]
lvm2-2.03.27-build/LVM2.2.03.27/lib/label/hints.c: scope_hint: In function ‘_read_hint_file’
lvm2-2.03.27-build/LVM2.2.03.27/lib/label/hints.c:861:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 4288)’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lib.h:30: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/label/hints.c:138: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:88:25: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/label/hints.c:717:9: note: in expansion of macro ‘log_debug’
lvm2-2.03.27-build/LVM2.2.03.27/lib/label/hints.c: scope_hint: In function ‘_read_hint_file’
#  859|   
#  860|   		log_debug("add hint %s %s %d:%d %s", hint.name, hint.pvid, major, minor, vgname);
#  861|-> 		dm_list_add(hints, &alloc_hint->list);
#  862|   		found++;
#  863|   	}

Error: GCC_ANALYZER_WARNING: [#def1923]
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c: scope_hint: In function ‘_reopen_fd_to_null’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:131:13: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fd’
#  129|   	}
#  130|   
#  131|-> 	if (dup2(null_fd, fd) == -1) {
#  132|   		log_sys_error("dup2", "");
#  133|   		goto out;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1924]
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c: scope_hint: In function ‘pipe_open’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:156:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipefd[0]’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lib.h:30: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:16: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:102:26: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:112:30: note: in expansion of macro ‘log_notice’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:164:9: note: in expansion of macro ‘log_verbose’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/lvm-logging.h:33:45: note: in definition of macro ‘LOG_LINE_WITH_ERRNO’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:122:17: note: in expansion of macro ‘log_err’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:196:17: note: in expansion of macro ‘log_sys_error’
#  154|   		if (!sync_local_dev_names(cmd)) {
#  155|   			log_error("Failed to sync local device names before forking.");
#  156|-> 			return 0;
#  157|   		}
#  158|   

Error: GCC_ANALYZER_WARNING: [#def1925]
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:183:26: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:102:26: note: in expansion of macro ‘LOG_LINE’
lvm2-2.03.27-build/LVM2.2.03.27/lib/log/log.h:112:30: note: in expansion of macro ‘log_notice’
lvm2-2.03.27-build/LVM2.2.03.27/lib/misc/lvm-exec.c:164:9: note: in expansion of macro ‘log_verbose’
#  181|   		else if (close(STDOUT_FILENO))
#  182|   			log_sys_error("close", "STDOUT");
#  183|-> 		else if (dup2(pipefd[1 /*write*/], STDOUT_FILENO) == -1)
#  184|   			log_sys_error("dup2", "STDOUT");
#  185|   		else if (close(pipefd[1]))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1926]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c: scope_hint: In function ‘_daemonize’
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:344:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  342|   
#  343|   	sigemptyset(&my_sigset);
#  344|-> 	if (sigprocmask(SIG_SETMASK, &my_sigset, NULL) < 0) {
#  345|   		fprintf(stderr, "Unable to restore signals.\n");
#  346|   		exit(EXIT_FAILURE);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1927]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:350:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  348|   	signal(SIGTERM, &_exit_handler);
#  349|   
#  350|-> 	switch (pid = fork()) {
#  351|   	case -1:
#  352|   		perror("fork failed:");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1928]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:381:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  379|   	}
#  380|   
#  381|-> 	if (chdir("/")) {
#  382|   		perror("Cannot chdir to /");
#  383|   		exit(1);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1929]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:386:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
#  384|   	}
#  385|   
#  386|-> 	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|   	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1930]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:386:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  384|   	}
#  385|   
#  386|-> 	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|   	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1931]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:386:44: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 1)’
#  384|   	}
#  385|   
#  386|-> 	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|   	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1932]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:386:44: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  384|   	}
#  385|   
#  386|-> 	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|   	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1933]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:387:45: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
#  385|   
#  386|   	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|-> 	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {
#  389|   		perror("Error setting terminal FDs to /dev/null");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1934]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:387:45: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  385|   
#  386|   	if ((dup2(fd, STDIN_FILENO) == -1) ||
#  387|-> 	    (dup2(fd, STDOUT_FILENO) == -1) ||
#  388|   	    (dup2(fd, STDERR_FILENO) == -1)) {
#  389|   		perror("Error setting terminal FDs to /dev/null");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1935]
lvm2-2.03.27-build/LVM2.2.03.27/libdaemon/server/daemon-server.c:393:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  391|   	}
#  392|   
#  393|-> 	if ((fd > STDERR_FILENO) && close(fd)) {
#  394|   		perror("Failed to close /dev/null descriptor");
#  395|   		exit(3);

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1936]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c: scope_hint: In function ‘_daemonize’
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c:659:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 0)’
#  657|   		}
#  658|   
#  659|-> 		if ((dup2(fd, STDIN_FILENO) == -1) ||
#  660|   		    (dup2(fd, STDOUT_FILENO) == -1) ||
#  661|   		    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1937]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c:659:52: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 1)’
#  657|   		}
#  658|   
#  659|-> 		if ((dup2(fd, STDIN_FILENO) == -1) ||
#  660|   		    (dup2(fd, STDOUT_FILENO) == -1) ||
#  661|   		    (dup2(fd, STDERR_FILENO) == -1)) {

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1938]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c:660:53: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open("/dev/null", 2), 2)’
#  658|   
#  659|   		if ((dup2(fd, STDIN_FILENO) == -1) ||
#  660|-> 		    (dup2(fd, STDOUT_FILENO) == -1) ||
#  661|   		    (dup2(fd, STDERR_FILENO) == -1)) {
#  662|   			if (fd > STDERR_FILENO)

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1939]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c:662:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  660|   		    (dup2(fd, STDOUT_FILENO) == -1) ||
#  661|   		    (dup2(fd, STDERR_FILENO) == -1)) {
#  662|-> 			if (fd > STDERR_FILENO)
#  663|   				(void) close(fd);
#  664|   			_early_log("Error redirecting stdin/out/err to null.");

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1940]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmfilemapd.c:668:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
#  666|   			return 0;
#  667|   		}
#  668|-> 		if (fd > STDERR_FILENO)
#  669|   			(void) close(fd);
#  670|   	}

Error: GCC_ANALYZER_WARNING (CWE-590): [#def1941]
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmsetup.c: scope_hint: In function ‘_destroy_split_name’
lvm2-2.03.27-build/LVM2.2.03.27/libdm/dm-tools/dmsetup.c:567:17: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘""’ which points to memory not on the heap
#  565|   	 */
#  566|   	if (!strcmp(split_name->subsystem, "LVM"))
#  567|-> 		free(split_name->vg_name);
#  568|   
#  569|   	free(split_name->subsystem);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def1942]
lvm2-2.03.27-build/LVM2.2.03.27/tools/man-generator.c: scope_hint: In function ‘_print_val_man’
lvm2-2.03.27-build/LVM2.2.03.27/tools/man-generator.c:219:29: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
lvm2-2.03.27-build/LVM2.2.03.27/tools/man-generator.c:111: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/tools/man-generator.c:219:29: note: read of 1 byte from after the end of the region
lvm2-2.03.27-build/LVM2.2.03.27/tools/man-generator.c:17: included_from: Included from here.
/usr/include/string.h:350:14: note: argument 1 of ‘strstr’ must be a pointer to a null-terminated string
#  217|   			}
#  218|   
#  219|-> 			if (strstr(line_argv[i], "Number"))
#  220|   				printf("\\fI%s\\fP", line_argv[i]);
#  221|   			else

Error: GCC_ANALYZER_WARNING (CWE-122): [#def1943]
lvm2-2.03.27-build/LVM2.2.03.27/tools/pvck.c: scope_hint: In function ‘_check_metadata_file’
lvm2-2.03.27-build/LVM2.2.03.27/tools/pvck.c:2910:21: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
lvm2-2.03.27-build/LVM2.2.03.27/device_mapper/all.h:27: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/tools/tool.h:22: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/tools/tools.h:19: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/tools/pvck.c:17: included_from: Included from here.
lvm2-2.03.27-build/LVM2.2.03.27/tools/tools.h:48: included_from: Included from here.
# 2908|   	if (text_buf[text_size-1] != '\0' ||
# 2909|   	    text_buf[text_size-2] != '\n' ||
# 2910|-> 	    text_buf[text_size-3] != '\n')
# 2911|   		log_warn("WARNING: unexpected final bytes of raw metadata, expected \\n\\n\\0.");
# 2912|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1944]
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgcfgbackup.c: scope_hint: In function ‘_vg_backup_single’
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgcfgbackup.c:68:20: warning[-Wanalyzer-malloc-leak]: leak of ‘_expand_filename(arg_value(cmd, 195), *vg.name,  last_filename)’
#   66|   			return_ECMD_FAILED;
#   67|   
#   68|-> 		if (!backup_to_file(filename, vg->cmd->cmd_line, vg))
#   69|   			return_ECMD_FAILED;
#   70|   	} else {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1945]
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c: scope_hint: In function ‘_get_other_devs’
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c:191:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c: scope_hint: In function ‘_get_other_devs’
#  189|   		}
#  190|   		devl->dev = dev;
#  191|-> 		dm_list_add(other_devs, &devl->list);
#  192|   	}
#  193|   bad:

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1946]
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c: scope_hint: In function ‘vgimportclone’
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c:274:17: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 24)’
lvm2-2.03.27-build/LVM2.2.03.27/tools/vgimportclone.c: scope_hint: In function ‘vgimportclone’
#  272|   
#  273|   		devl->dev = dev;
#  274|-> 		dm_list_add(&vp.new_devs, &devl->list);
#  275|   	}
#  276|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-39.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelvm2-2.03.27-1.fc42
store-results-to/tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.tar.xz
time-created2024-11-13 01:59:17
time-finished2024-11-13 02:04:01
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpqnw_0fh5/lvm2-2.03.27-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9