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

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