Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15f2ff
)
Make sure that the scratch dirs have rwx permissions before we try
author
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 02:06:51 +0000
(
02:06
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 02:06:51 +0000
(
02:06
+0000)
a recursive rm.
runtests.sh
patch
|
blob
|
blame
|
history
diff --git
a/runtests.sh
b/runtests.sh
index
286f0c5
..
ad93862
100755
(executable)
--- a/
runtests.sh
+++ b/
runtests.sh
@@
-221,7
+221,7
@@
suitedir="$srcdir/testsuite"
export scratchdir suitedir
prep_scratch() {
- [ -d "$scratchdir" ] && rm -rf "$scratchdir"
+ [ -d "$scratchdir" ] &&
chmod -R u+rwX "$scratchdir" &&
rm -rf "$scratchdir"
mkdir "$scratchdir"
# Get rid of default ACLs and dir-setgid to avoid confusing some tests.
$setfacl_nodef "$scratchdir" || true