[lvm-devel] master - tests: mixes string and array
Zdenek Kabelac
zkabelac at sourceware.org
Mon Jul 10 12:38:14 UTC 2017
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ec05890026ac9f66797fdd44dad4c8ce02b857b6
Commit: ec05890026ac9f66797fdd44dad4c8ce02b857b6
Parent: 4e2fd6f6abcb97fe9f8ec2b5843469e2b497df25
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Fri Jul 7 21:24:17 2017 +0200
Committer: Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Mon Jul 10 14:23:53 2017 +0200
tests: mixes string and array
Argument mixes string and array. Use * or separate argument
---
test/shell/select-report.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/shell/select-report.sh b/test/shell/select-report.sh
index 314e207..b879bf5 100644
--- a/test/shell/select-report.sh
+++ b/test/shell/select-report.sh
@@ -63,7 +63,7 @@ sel() {
# the number of lines on output must match
test "$items_found" -eq $# || {
- echo " >>> NUMBER OF ITEMS EXPECTED: $# ($@)"
+ echo " >>> NUMBER OF ITEMS EXPECTED: $#" "$@"
echo " >>> NUMBER OF ITEMS FOUND: $items_found ($(< $OUT_LOG_FILE))"
return 1
}
More information about the lvm-devel
mailing list