Blame SOURCES/0040-Make-the-grub1-defaultkernel-test-more-reliable.patch

56d25d
From 62ad4dfa328dc24b4786d9c0c35ebcbd1fe574b9 Mon Sep 17 00:00:00 2001
56d25d
From: Peter Jones <pjones@redhat.com>
56d25d
Date: Thu, 2 Jul 2015 14:30:09 -0400
56d25d
Subject: [PATCH 40/41] Make the grub1 "defaultkernel" test more reliable.
56d25d
56d25d
Basically just do it twice with various incarnations of
56d25d
--boot-filesystem={/,/boot}
56d25d
56d25d
Related: rhbz#1184014
56d25d
56d25d
Signed-off-by: Peter Jones <pjones@redhat.com>
56d25d
---
56d25d
 test.sh                        | 3 ++-
56d25d
 test/results/defaultkernel/g.2 | 1 +
56d25d
 2 files changed, 3 insertions(+), 1 deletion(-)
56d25d
 create mode 100644 test/results/defaultkernel/g.2
56d25d
56d25d
diff --git a/test.sh b/test.sh
56d25d
index efd9e84..74857af 100755
56d25d
--- a/test.sh
56d25d
+++ b/test.sh
56d25d
@@ -299,7 +299,8 @@ grubDisplayTest grub.10 defaulttitle/g.10 --default-title
56d25d
 grubDisplayTest grub.11 defaulttitle/g.11 --default-title
56d25d
 
56d25d
 testing="GRUB display default kernel"
56d25d
-grubDisplayTest grub.1 defaultkernel/g.1 --default-kernel
56d25d
+grubDisplayTest grub.1 defaultkernel/g.1 --boot-filesystem=/boot --default-kernel
56d25d
+grubDisplayTest grub.1 defaultkernel/g.2 --boot-filesystem=/ --default-kernel
56d25d
 
56d25d
 testing="LILO default directive"
56d25d
 liloTest lilo.1 default/l1.1 --set-default=/boot/vmlinuz-2.4.18-4
56d25d
diff --git a/test/results/defaultkernel/g.2 b/test/results/defaultkernel/g.2
56d25d
new file mode 100644
56d25d
index 0000000..d15855e
56d25d
--- /dev/null
56d25d
+++ b/test/results/defaultkernel/g.2
56d25d
@@ -0,0 +1 @@
56d25d
+/vmlinuz-2.4.7-2
56d25d
-- 
56d25d
2.4.3
56d25d