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
8f5b554f
Commit
8f5b554f
authored
Jul 31, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hard-link a device in order to test that this works properly.
parent
8cd3db27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
devices.test
testsuite/devices.test
+2
-1
No files found.
testsuite/devices.test
View file @
8f5b554f
...
...
@@ -16,7 +16,7 @@ case `id -u` in
0
)
;;
*
)
if
[
-
f
/
usr
/
bin
/
fakeroot
];
then
echo
"Let's try re-running the script under fakeroot..."
exec
/
usr
/
bin
/
fakeroot
/
bin
/
sh
"$0"
exec
/
usr
/
bin
/
fakeroot
/
bin
/
sh
$RUNSHFLAGS
"$0"
fi
test_skipped
"Rsync won't copy devices unless we're root"
;;
...
...
@@ -31,6 +31,7 @@ mknod "$fromdir/char3" c 42 69 || test_skipped "Can't create char device node u
mknod
"
$fromdir
/block"
b
42
69
||
test_skipped
"Can't create block device node unless root"
mknod
"
$fromdir
/block2"
b
42
73
||
test_skipped
"Can't create block device node unless root"
mknod
"
$fromdir
/block3"
b
105
73
||
test_skipped
"Can't create block device node unless root"
ln
"
$fromdir
/block3"
"
$fromdir
/block3dup"
||
echo
"Skipping hard-linked device test..."
mkfifo
"
$fromdir
/fifo"
||
test_skipped
"Can't run mkfifo"
checkit
"
$RSYNC
-aHvv
\"
$fromdir
/
\"
\"
$todir
/
\"
"
"
$fromdir
"
"
$todir
"
skip_file_diff
...
...
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