|
|
24fce8 |
From 5ec8c855f307a89f08013c832bd7e121c8f83327 Mon Sep 17 00:00:00 2001
|
|
|
24fce8 |
From: Robert Marshall <rmarshall@redhat.com>
|
|
|
24fce8 |
Date: Thu, 15 Dec 2016 21:47:28 -0500
|
|
|
24fce8 |
Subject: [PATCH 33/55] Fix some test cases where the resulting default index
|
|
|
24fce8 |
is wrong
|
|
|
24fce8 |
|
|
|
24fce8 |
Fix two issues with tests where removing a kernel or adding a boot entry
|
|
|
24fce8 |
at a user specified index had the wrong default index selected in the
|
|
|
24fce8 |
expected output.
|
|
|
24fce8 |
|
|
|
24fce8 |
One of these issues is the --set-index test cases for grub 1, which
|
|
|
24fce8 |
expect --make-default is implied where it should not be.
|
|
|
24fce8 |
|
|
|
24fce8 |
The third is a removal test, where the default index in the result data
|
|
|
24fce8 |
is off by one when we've removed 2 entries keyed off of the kernel
|
|
|
24fce8 |
filesystem path.
|
|
|
24fce8 |
|
|
|
24fce8 |
This change causes these test cases to fail.
|
|
|
24fce8 |
|
|
|
24fce8 |
Resolves: rhbz#1285601
|
|
|
24fce8 |
---
|
|
|
24fce8 |
test/results/add/g1.17 | 2 +-
|
|
|
24fce8 |
test/results/add/g1.9 | 2 +-
|
|
|
24fce8 |
test/results/remove/g7.1 | 2 +-
|
|
|
24fce8 |
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
24fce8 |
|
|
|
24fce8 |
diff --git a/test/results/add/g1.17 b/test/results/add/g1.17
|
|
|
24fce8 |
index 6a388228768..eda4e93329d 100644
|
|
|
24fce8 |
--- a/test/results/add/g1.17
|
|
|
24fce8 |
+++ b/test/results/add/g1.17
|
|
|
24fce8 |
@@ -7,7 +7,7 @@
|
|
|
24fce8 |
# kernel /vmlinuz-version ro root=/dev/sda1
|
|
|
24fce8 |
# initrd /initrd-version.img
|
|
|
24fce8 |
#boot=/dev/hda
|
|
|
24fce8 |
-default=1
|
|
|
24fce8 |
+default=0
|
|
|
24fce8 |
timeout=10
|
|
|
24fce8 |
splashimage=(hd0,0)/grub/splash.xpm.gz
|
|
|
24fce8 |
title Red Hat Linux (2.4.7-2)
|
|
|
24fce8 |
diff --git a/test/results/add/g1.9 b/test/results/add/g1.9
|
|
|
24fce8 |
index 310623d13d2..8976e762d74 100644
|
|
|
24fce8 |
--- a/test/results/add/g1.9
|
|
|
24fce8 |
+++ b/test/results/add/g1.9
|
|
|
24fce8 |
@@ -7,7 +7,7 @@
|
|
|
24fce8 |
# kernel /vmlinuz-version ro root=/dev/sda1
|
|
|
24fce8 |
# initrd /initrd-version.img
|
|
|
24fce8 |
#boot=/dev/hda
|
|
|
24fce8 |
-default=2
|
|
|
24fce8 |
+default=1
|
|
|
24fce8 |
timeout=10
|
|
|
24fce8 |
splashimage=(hd0,0)/grub/splash.xpm.gz
|
|
|
24fce8 |
title Red Hat Linux (2.4.7-2)
|
|
|
24fce8 |
diff --git a/test/results/remove/g7.1 b/test/results/remove/g7.1
|
|
|
24fce8 |
index ea1a6fbaec9..611d7a16685 100644
|
|
|
24fce8 |
--- a/test/results/remove/g7.1
|
|
|
24fce8 |
+++ b/test/results/remove/g7.1
|
|
|
24fce8 |
@@ -1,4 +1,4 @@
|
|
|
24fce8 |
-default=1
|
|
|
24fce8 |
+default=0
|
|
|
24fce8 |
timeout=10
|
|
|
24fce8 |
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
|
|
|
24fce8 |
|
|
|
24fce8 |
--
|
|
|
24fce8 |
2.17.1
|
|
|
24fce8 |
|