summaryrefslogtreecommitdiff
path: root/tests/dd/skip-seek2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd/skip-seek2')
-rwxr-xr-xtests/dd/skip-seek24
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dd/skip-seek2 b/tests/dd/skip-seek2
index e1d3edb41..7f5e0560f 100755
--- a/tests/dd/skip-seek2
+++ b/tests/dd/skip-seek2
@@ -23,14 +23,14 @@ print_ver_ dd
echo LA:3456789abcdef > in || fail=1
(dd bs=1 skip=3 count=0 && dd bs=5) < in > out 2> /dev/null || fail=1
-case `cat out` in
+case $(cat out) in
3456789abcdef) ;;
*) fail=1 ;;
esac
echo LA:3456789abcdef > in || fail=1
(dd bs=1 skip=3 count=0 && dd bs=5 count=2) < in > out 2> /dev/null || fail=1
-case `cat out` in
+case $(cat out) in
3456789abc) ;;
*) fail=1 ;;
esac