]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common/rc: remove unnecessary cat in _ddt
authorOmar Sandoval <osandov@fb.com>
Fri, 17 Feb 2017 02:32:48 +0000 (18:32 -0800)
committerEryu Guan <eguan@redhat.com>
Sat, 18 Feb 2017 23:59:33 +0000 (07:59 +0800)
Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc

index f5bc03231cc23daa5d45b6982f0ea3652925422e..bfa44c51e0e0422b0cbcf34c8b97aeee691e67ca 100644 (file)
--- a/common/rc
+++ b/common/rc
@@ -2452,7 +2452,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