Blame SOURCES/0064-Fix-some-test-cases-where-the-resulting-default-inde.patch

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