summaryrefslogtreecommitdiff
path: root/tests/dd/bytes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd/bytes')
-rwxr-xr-xtests/dd/bytes6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dd/bytes b/tests/dd/bytes
index 15755aae3..2d40f0641 100755
--- a/tests/dd/bytes
+++ b/tests/dd/bytes
@@ -21,7 +21,7 @@ print_ver_ dd
# count_bytes
echo 0123456789abcdefghijklm > in || framework_failure_
dd count=14 conv=swab iflag=count_bytes < in > out 2> /dev/null || fail=1
-case `cat out` in
+case $(cat out) in
1032547698badc) ;;
*) fail=1 ;;
esac
@@ -29,7 +29,7 @@ esac
# skip_bytes
echo 0123456789abcdefghijklm > in || framework_failure_
dd skip=10 iflag=skip_bytes < in > out 2> /dev/null || fail=1
-case `cat out` in
+case $(cat out) in
abcdefghijklm) ;;
*) fail=1 ;;
esac
@@ -37,7 +37,7 @@ esac
# skip records and bytes from pipe
echo 0123456789abcdefghijklm |
dd skip=10 bs=2 iflag=skip_bytes > out 2> /dev/null || fail=1
-case `cat out` in
+case $(cat out) in
abcdefghijklm) ;;
*) fail=1 ;;
esac