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
48ffc11e
Commit
48ffc11e
authored
Dec 16, 2006
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the error messages a little clearer.
parent
5a3e9ff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
delete.test
testsuite/delete.test
+3
-3
No files found.
testsuite/delete.test
View file @
48ffc11e
...
...
@@ -40,9 +40,9 @@ touch "$todir/foo" "$todir/bar" "$todir/baz"
$RSYNC
-
r
--
exclude
=
baz
--
filter
=
': filters'
--
delete
-
excluded
"
$fromdir
/"
"
$todir
/"
test
-
f
"
$todir
/foo"
||
test_fail
"rsync deleted
$todir
/foo"
test
-
f
"
$todir
/bar"
&&
test_fail
"rsync
did not delete
$todir
/bar"
test
-
f
"
$todir
/baz"
&&
test_fail
"rsync
did not delete
$todir
/baz"
test
-
f
"
$todir
/foo"
||
test_fail
"rsync
should NOT have
deleted
$todir
/foo"
test
-
f
"
$todir
/bar"
&&
test_fail
"rsync
SHOULD have deleted
$todir
/bar"
test
-
f
"
$todir
/baz"
&&
test_fail
"rsync
SHOULD have deleted
$todir
/baz"
# The script would have aborted on error, so getting here means we've won.
exit
0
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