Bugzilla – Attachment 2524 Details for
Bug 1768
scp: wrong error message when destination directory ends with a slash and is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to verify this problem in regress test suite
0002-RHBZ-1142223-Regression-test-case-for-confusing-erro.patch (text/plain), 980 bytes, created by
Jakub Jelen
on 2015-01-09 03:22:36 AEDT
(
hide
)
Description:
patch to verify this problem in regress test suite
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-01-09 03:22:36 AEDT
Size:
980 bytes
patch
obsolete
>From 7abc6cb432b39a314b87b738b769b0bdda3ef181 Mon Sep 17 00:00:00 2001 >From: Jakub Jelen <jjelen@redhat.com> >Date: Thu, 8 Jan 2015 17:16:41 +0100 >Subject: [PATCH 2/2] RHBZ#1142223: Regression test case for confusing error > message > >--- > regress/scp.sh | 8 ++++++++ > 1 file changed, 8 insertions(+) > >diff --git a/regress/scp.sh b/regress/scp.sh >index 57cc770..c568211 100644 >--- a/regress/scp.sh >+++ b/regress/scp.sh >@@ -81,6 +81,14 @@ cp ${DATA} ${DIR}/copy > $SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed" > diff ${DIFFOPT} ${DIR} ${DIR2} || fail "corrupted copy" > >+verbose "$tid: local file to non-existing remote directory" >+scpclean >+rmdir ${DIR2} >+$SCP $scpopts ${DATA} somehost:${DIR2}/ 2> ${COPY2} && fail "copy succeed" >+cat ${COPY2} >+grep -q "Is a directory" ${COPY2} && fail "wrong error message" >+grep -q "Not a directory" ${COPY2} || fail "Can't find expected error message" >+ > verbose "$tid: shell metacharacters" > scpclean > (cd ${DIR} && \ >-- >2.1.0 >
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
Actions:
View
|
Diff
Attachments on
bug 1768
:
1846
|
2523
| 2524 |
2526