public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] common/rc: remove unnecessary cat in _ddt
@ 2017-02-17  2:32 Omar Sandoval
  2017-02-17  2:32 ` [PATCH 2/2] btrfs: test decompression in the middle of large extents Omar Sandoval
  0 siblings, 1 reply; 4+ messages in thread
From: Omar Sandoval @ 2017-02-17  2:32 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs, kernel-team

From: Omar Sandoval <osandov@fb.com>

Signed-off-by: Omar Sandoval <osandov@fb.com>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 76515e2b..6304d690 100644
--- a/common/rc
+++ b/common/rc
@@ -2417,7 +2417,7 @@ _die()
 # convert urandom incompressible data to compressible text data
 _ddt()
 {
-	cat /dev/urandom | od | dd iflag=fullblock ${*}
+	od /dev/urandom | dd iflag=fullblock ${*}
 }
 
 #takes files, randomdata
-- 
2.11.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-17  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17  2:32 [PATCH 1/2] common/rc: remove unnecessary cat in _ddt Omar Sandoval
2017-02-17  2:32 ` [PATCH 2/2] btrfs: test decompression in the middle of large extents Omar Sandoval
2017-02-17  5:58   ` Eryu Guan
2017-02-17  6:48     ` Omar Sandoval

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox