projects
/
lvm2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cccfe9
)
test: select-report: fix checking of failure scenarios
2156259285
author
Peter Rajnoha <prajnoha@redhat.com>
Thu, 13 Nov 2025 08:53:36 +0000
(09:53 +0100)
committer
Peter Rajnoha <prajnoha@redhat.com>
Thu, 13 Nov 2025 08:53:36 +0000
(09:53 +0100)
test/shell/select-report.sh
patch
|
blob
|
history
diff --git
a/test/shell/select-report.sh
b/test/shell/select-report.sh
index 60b939db40f4c0ed84e7d478dfff3f2114dd39f5..15a9860d220a39d088380dcd1355f8c150dfc610 100644
(file)
--- a/
test/shell/select-report.sh
+++ b/
test/shell/select-report.sh
@@
-58,6
+58,16
@@
sel() {
return 1
}
+ grep "out of supported range" "$ERR_LOG_FILE" >/dev/null && {
+ echo " >>> Selection out of supported range hit!"
+ return 1
+ }
+
+ grep "found in selection is reserved" "$ERR_LOG_FILE" > /dev/null && {
+ echo " >>> Use of reserved selection value hit!"
+ return 1
+ }
+
items_found=$(wc -l < "$OUT_LOG_FILE")
# the number of lines on output must match
This page took
0.086549 seconds
and
5
git commands to generate.