Bugzilla – Attachment 1056 Details for
Bug 1094
Local to local copy (and also remote to remote) uses shell expansion twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
regress test for normal local/local copies
scp-regress.diff (text/plain), 1.44 KB, created by
Damien Miller
on 2006-01-26 20:50:18 AEDT
(
hide
)
Description:
regress test for normal local/local copies
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2006-01-26 20:50:18 AEDT
Size:
1.44 KB
patch
obsolete
>Index: scp.sh >=================================================================== >RCS file: /cvs/src/regress/usr.bin/ssh/scp.sh,v >retrieving revision 1.4 >diff -u -p -r1.4 scp.sh >--- scp.sh 30 Jun 2005 11:02:37 -0000 1.4 >+++ scp.sh 26 Jan 2006 09:49:30 -0000 >@@ -21,6 +21,11 @@ scpclean() { > mkdir ${DIR} ${DIR2} > } > >+verbose "$tid: simple copy local file to local file" >+scpclean >+$SCP $scpopts ${DATA} ${COPY} || fail "copy failed" >+cmp ${DATA} ${COPY} || fail "corrupted copy" >+ > verbose "$tid: simple copy local file to remote file" > scpclean > $SCP $scpopts ${DATA} somehost:${COPY} || fail "copy failed" >@@ -37,6 +42,12 @@ cp ${DATA} ${COPY} > $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed" > cmp ${COPY} ${DIR}/copy || fail "corrupted copy" > >+verbose "$tid: simple copy local file to local dir" >+scpclean >+cp ${DATA} ${COPY} >+$SCP $scpopts ${COPY} ${DIR} || fail "copy failed" >+cmp ${COPY} ${DIR}/copy || fail "corrupted copy" >+ > verbose "$tid: simple copy remote file to local dir" > scpclean > cp ${DATA} ${COPY} >@@ -48,6 +59,13 @@ scpclean > rm -rf ${DIR2} > cp ${DATA} ${DIR}/copy > $SCP $scpopts -r ${DIR} somehost:${DIR2} || fail "copy failed" >+diff -rN ${DIR} ${DIR2} || fail "corrupted copy" >+ >+verbose "$tid: recursive local dir to local dir" >+scpclean >+rm -rf ${DIR2} >+cp ${DATA} ${DIR}/copy >+$SCP $scpopts -r ${DIR} ${DIR2} || fail "copy failed" > diff -rN ${DIR} ${DIR2} || fail "corrupted copy" > > verbose "$tid: recursive remote dir to local dir"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 1094
:
971
|
1053
|
1054
|
1055
| 1056 |
1057
|
1058