nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0307-tests-grub_cmd_date.in-Add-missing-exit-1.patch

f96e0b
From 41621bfe8ae1dc7845a7a9cc6e0b484ea2288f1c Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Sun, 14 Apr 2013 17:19:04 +0200
f96e0b
Subject: [PATCH 307/482] 	* tests/grub_cmd_date.in: Add missing exit 1.
f96e0b
f96e0b
---
f96e0b
 ChangeLog              | 4 ++++
f96e0b
 tests/grub_cmd_date.in | 1 +
f96e0b
 2 files changed, 5 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 402c79f..60effd3 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,9 @@
f96e0b
 2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
+	* tests/grub_cmd_date.in: Add missing exit 1.
f96e0b
+
f96e0b
+2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
 	* tests/partmap_test.in: Skip on sparc64.
f96e0b
 
f96e0b
 2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
diff --git a/tests/grub_cmd_date.in b/tests/grub_cmd_date.in
f96e0b
index 1c8e7e6..254fb91 100644
f96e0b
--- a/tests/grub_cmd_date.in
f96e0b
+++ b/tests/grub_cmd_date.in
f96e0b
@@ -10,3 +10,4 @@ if [ $pdt -le $dtg ] && [ $dtg -le $ndt ]; then
f96e0b
     exit 0;
f96e0b
 fi
f96e0b
 echo "Date not in range: $pdt <= $dtg <= $ndt"
f96e0b
+exit 1
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b