summaryrefslogtreecommitdiff
path: root/tests/mv/i-3
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/i-3')
-rwxr-xr-xtests/mv/i-34
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/i-3 b/tests/mv/i-3
index 262b5ba04..3912842a2 100755
--- a/tests/mv/i-3
+++ b/tests/mv/i-3
@@ -45,7 +45,7 @@ mv f g < $tty > out 2>&1 & pid=$!
check_overwrite_prompt()
{
local delay="$1"
- case "`cat out`" in
+ case "$(cat out)" in
"mv: try to overwrite 'g', overriding mode 0000"*) ;;
*) sleep $delay; return 1;;
esac
@@ -61,7 +61,7 @@ test -f i || fail=1
test -f h && fail=1
# Make sure there was no prompt.
-case "`cat out`" in
+case "$(cat out)" in
'') ;;
*) fail=1 ;;
esac