Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
35f69d8a
Commit
35f69d8a
authored
May 27, 1998
by
Andrew Tridgell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new test code from Phil
parent
7b1ce0d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
test.sh
test.sh
+9
-3
No files found.
test.sh
View file @
35f69d8a
...
...
@@ -98,14 +98,21 @@ cp ${FROM}/${F1} ${TO}/ThisShouldGo
checkit
"rsync --delete -avH
${
FROM
}
/
${
TO
}
"
${
FROM
}
/
${
TO
}
\
5
" --delete"
LONGDIR
=
${
FROM
}
/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job/This-is-a-directory-with-a-stupidly-long-name-created-in-an-attempt-to-provoke-an-error-found-in-2.0.11-that-should-hopefully-never-appear-again-if-this-test-does-its-job
mkdir
-p
${
LONGDIR
}
date
>
${
LONGDIR
}
/1
ls
-la
/
>
${
LONGDIR
}
/2
checkit
"rsync --delete -avH
${
FROM
}
/
${
TO
}
"
${
FROM
}
/
${
TO
}
\
6
"long paths"
if
type
ssh
>
/dev/null
;
then
rm
-rf
${
TO
}
checkit
"rsync -avH -e ssh
${
FROM
}
/ localhost:
${
TO
}
"
${
FROM
}
/
${
TO
}
\
6
"ssh: basic test"
7
"ssh: basic test"
mv
${
TO
}
/
${
F1
}
${
TO
}
/ThisShouldGo
checkit
"rsync --delete -avH -e ssh
${
FROM
}
/ localhost:
${
TO
}
"
${
FROM
}
/
${
TO
}
\
7
"ssh: renamed file"
8
"ssh: renamed file"
else
echo
""
echo
"**** Skipping SSH tests because ssh is not in the path ****"
...
...
@@ -113,4 +120,3 @@ else
fi
checkforlogs
${
LOG
}
.?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment