From a1ecc0006c621ede0eb2a27bee621781664bac4b Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 18 Feb 2025 11:55:07 +0000 Subject: [PATCH] tests/syslinux/test-syslinux.pl: Send skip messages to stderr Otherwise they won't appear in test-suite.log. --- tests/syslinux/test-syslinux.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/syslinux/test-syslinux.pl b/tests/syslinux/test-syslinux.pl index b081c578b..9d0265995 100755 --- a/tests/syslinux/test-syslinux.pl +++ b/tests/syslinux/test-syslinux.pl @@ -44,7 +44,7 @@ foreach my $m (@mbr_paths) { } } unless (defined $mbr) { - print "$0: mbr.bin (from SYSLINUX) not found, skipping test\n"; + print STDERR "$0: mbr.bin (from SYSLINUX) not found, skipping test\n"; exit 77; } print "mbr: $mbr\n"; @@ -60,7 +60,7 @@ die "invalid mbr.bin" unless length ($mbr_data) == 440; my $kernel = `ls -1rv /boot/vmlinuz* | head -1`; chomp $kernel; unless ($kernel) { - print "$0: kernel could not be found, skipping test\n"; + print STDERR "$0: kernel could not be found, skipping test\n"; exit 77; } print "kernel: $kernel\n"; @@ -74,7 +74,8 @@ $g->add_drive ($disk, format => "raw"); $g->launch (); unless ($g->feature_available ([$bootloader])) { - print "$0: skipping test because '$bootloader' feature is not available\n"; + print STDERR + "$0: skipping test because '$bootloader' feature is not available\n"; exit 77 }