[lxc-devel] [lxd/master] Replace use of fgrep with grep

albertodonato on Github lxc-bot at linuxcontainers.org
Tue Jul 18 17:38:22 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170718/dec1ffdb/attachment.bin>
-------------- next part --------------
From 236e60efa84653bacc9e6686be549a7304f39c44 Mon Sep 17 00:00:00 2001
From: Alberto Donato <alberto.donato at canonical.com>
Date: Tue, 18 Jul 2017 19:38:03 +0200
Subject: [PATCH] Replace use of fgrep with grep

Signed-off-by: Alberto Donato <alberto.donato at canonical.com>
---
 test/suites/image.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/suites/image.sh b/test/suites/image.sh
index 89007d4f3..ba27881b3 100644
--- a/test/suites/image.sh
+++ b/test/suites/image.sh
@@ -66,6 +66,6 @@ test_image_import_dir() {
     # shellcheck disable=2039,2034,2155
     local exported="${fingerprint}.tar.xz"
 
-    tar tvf "$exported" | fgrep -q metadata.yaml
+    tar tvf "$exported" | grep -Fq metadata.yaml
     rm "$exported"
 }


More information about the lxc-devel mailing list