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
8a21be11
Commit
8a21be11
authored
Aug 22, 2009
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the chmod-temp-dir test if /var/tmp doesn't exist.
Fixes bug 6569.
parent
ce827c3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
chmod-temp-dir.test
testsuite/chmod-temp-dir.test
+5
-1
No files found.
testsuite/chmod-temp-dir.test
View file @
8a21be11
...
@@ -21,7 +21,11 @@ sdev=`$TOOLDIR/getfsdev $scratchdir`
...
@@ -21,7 +21,11 @@ sdev=`$TOOLDIR/getfsdev $scratchdir`
tdev
=
`$TOOLDIR/getfsdev $tmpdir2`
tdev
=
`$TOOLDIR/getfsdev $tmpdir2`
if
[
x
$sdev
=
x
$tdev
];
then
if
[
x
$sdev
=
x
$tdev
];
then
tmpdir2
=/
var
/
tmp
tmpdir2
=/
var
/
tmp
tdev
=
`$TOOLDIR/getfsdev $tmpdir2`
if
[
-
d
$tmpdir2
];
then
tdev
=
`$TOOLDIR/getfsdev $tmpdir2`
else
tdev
=
"
$sdev
"
fi
[
x
$sdev
=
x
$tdev
]
&&
test_skipped
"Can't find a tmp dir on a different file system"
[
x
$sdev
=
x
$tdev
]
&&
test_skipped
"Can't find a tmp dir on a different file system"
fi
fi
...
...
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