summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-07 20:23:03 +0200
committerJim Meyering <meyering@redhat.com>2009-09-07 20:23:03 +0200
commita4a864da365fe70eb3a69fd4347f8f747a258efd (patch)
tree3a6c3ba2e4372c4481a31454b5fdf82ea9005b62
parent9547a78bda1d4f01a782c869be248b5e0faf31f9 (diff)
downloadcoreutils-a4a864da365fe70eb3a69fd4347f8f747a258efd.tar.xz
tests: misc/cat-buf: clean up syntax
* tests/misc/cat-buf: Don't suppress dd's stderr. Remove useless quotes.
-rwxr-xr-xtests/misc/cat-buf8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/misc/cat-buf b/tests/misc/cat-buf
index fb9ae881e..d37f9f436 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