View | Details | Raw Unified | Return to bug 1094 | Differences between
and this patch

Collapse All | Expand All

(-)scp.sh (+7 lines)
Lines 57-62 cp ${DATA} ${DIR}/copy Link Here
57
$SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed"
57
$SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed"
58
diff -rN ${DIR} ${DIR2} || fail "corrupted copy"
58
diff -rN ${DIR} ${DIR2} || fail "corrupted copy"
59
59
60
verbose "$tid: shell metacharacters"
61
scpclean
62
(cd ${DIR} && \
63
 touch '`touch metachartest`' && \
64
 $SCP $scpopts *metachar* ${DIR2} 2>/dev/null; \
65
 [ ! -f metachartest ] ) || fail "shell metacharacters"
66
60
if [ ! -z "$SUDO" ]; then
67
if [ ! -z "$SUDO" ]; then
61
	verbose "$tid: skipped file after scp -p with failed chown+utimes"
68
	verbose "$tid: skipped file after scp -p with failed chown+utimes"
62
	scpclean
69
	scpclean

Return to bug 1094