bug-coreutils
[Top][All Lists]
Advanced

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

[PATCH] tests: misc/cat-buf: clean up syntax


From: Jim Meyering
Subject: [PATCH] tests: misc/cat-buf: clean up syntax
Date: Mon, 07 Sep 2009 20:23:50 +0200

While I was looking at this test...

>From a4a864da365fe70eb3a69fd4347f8f747a258efd Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 7 Sep 2009 20:23:03 +0200
Subject: [PATCH] tests: misc/cat-buf: clean up syntax

* tests/misc/cat-buf: Don't suppress dd's stderr.
Remove useless quotes.
---
 tests/misc/cat-buf |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/misc/cat-buf b/tests/misc/cat-buf
index fb9ae88..d37f9f4 100755
--- a/tests/misc/cat-buf
+++ b/tests/misc/cat-buf
@@ -30,11 +30,11 @@ fi
 # write separately.
 mkfifo fifo || framework_failure

-echo '1' > exp
+echo 1 > exp

-dd count=1 if=fifo > out 2> err&
-(echo '1'; sleep .2; echo '2') | cat -v > fifo
-wait #for dd to complete
+dd count=1 if=fifo > out &
+(echo 1; sleep .2; echo 2) | cat -v > fifo
+wait # for dd to complete

 compare out exp || fail=1

--
1.6.4.2.419.gab238




reply via email to

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