bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: update gnulib to latest; adjust quoting in tests


From: Jim Meyering
Subject: [PATCH] build: update gnulib to latest; adjust quoting in tests
Date: Sun, 22 Jan 2012 11:28:31 +0100

FYI, I've updated to the latest from gnulib.
That so few adjustments are required to the test suite
suggests that we have very few uses of quote/quotearg and/or
that grep has far less test coverage than bison and coreutils do.

>From fcff123a3d67e2ce1bbd4592d39fa791087d9f8e Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 22 Jan 2012 10:45:20 +0100
Subject: [PATCH] build: update gnulib to latest; adjust quoting in tests

* gnulib: Update.
* tests/in-eq-out-infloop: Convert expected diagnostics to match
new quoting.
---
 gnulib                  |    2 +-
 tests/in-eq-out-infloop |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnulib b/gnulib
index 464f9e7..6f37b9d 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 464f9e7b25ea50440cd453931e18329844023fef
+Subproject commit 6f37b9dd8977f231e79d7a69277ed8a43af9625c
diff --git a/tests/in-eq-out-infloop b/tests/in-eq-out-infloop
index fc7acc6..0ef408a 100755
--- a/tests/in-eq-out-infloop
+++ b/tests/in-eq-out-infloop
@@ -16,8 +16,8 @@ echo "$v" > out || framework_failure_

 for arg in out - ''; do
   case $arg in
-    out) echo 'grep: input file `out'\'' is also the output';;
-    *)   echo 'grep: input file `(standard input)'\'' is also the output';;
+    out) echo "grep: input file 'out' is also the output";;
+    *)   echo "grep: input file '(standard input)' is also the output";;
   esac > err.exp || framework_failure_

   # Require an exit status of 2.
--
1.7.9.rc2.2.g183d6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]