[sheepdog] [PATCH] tests: change command 'hd' to 'hexdump'

Robin Dong robin.k.dong at gmail.com
Wed Nov 20 08:12:21 CET 2013


In rhel6/rhel5, we don't have command 'hd' but only have 'hexdump',
so using 'hexdump -C' instead of 'hd' is a better way.
  
Signed-off-by: Robin Dong <sanbai at taobao.com>
---
 tests/functional/071 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/functional/071 b/tests/functional/071
index 83c609d..b448611 100755
--- a/tests/functional/071
+++ b/tests/functional/071
@@ -27,7 +27,7 @@ for skip in 0 1 2 3; do
 	    dd if=$DATA_FILE bs=4k skip=$skip count=4 2> /dev/null \
 		| $DOG vdi write test $offset $length
 
-	    $DOG vdi read test $offset $length | hd
+	    $DOG vdi read test $offset $length | hexdump -C
 	done
     done
 done
-- 
1.7.1




More information about the sheepdog mailing list