Skip to content

Commit 995a3a6

Browse files
authored
ZTS: Fix summary page creation again - second try
In PR #16599 I used 'return' like in C - which is wrong :/ This fix generates the summary as needed. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tino Reichardt <[email protected]> Closes #16611
1 parent 87ca6ba commit 995a3a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scripts/qemu-9-summary-page.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ function output() {
1111
}
1212

1313
function outfile() {
14-
test -s "$1" || return
1514
cat "$1" >> "out-$logfile.md"
1615
}
1716

1817
function outfile_plain() {
19-
test -s "$1" || return
2018
output "<pre>"
2119
cat "$1" >> "out-$logfile.md"
2220
output "</pre>"
@@ -45,6 +43,8 @@ if [ ! -f out-1.md ]; then
4543
tar xf "$tarfile"
4644
test -s env.txt || continue
4745
source env.txt
46+
# when uname.txt is there, the other files are also ok
47+
test -s uname.txt || continue
4848
output "\n## Functional Tests: $OSNAME\n"
4949
outfile_plain uname.txt
5050
outfile_plain summary.txt

0 commit comments

Comments
 (0)