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:
363c3ec
)
Decided I like "set -x" after all.
author
Wayne Davison
<wayned@samba.org>
Sat, 26 Feb 2005 19:47:43 +0000
(19:47 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 26 Feb 2005 19:47:43 +0000
(19:47 +0000)
17 files changed:
testsuite/batch-mode.test
patch
|
blob
|
blame
|
history
testsuite/chgrp.test
patch
|
blob
|
blame
|
history
testsuite/chmod-temp-dir.test
patch
|
blob
|
blame
|
history
testsuite/chmod.test
patch
|
blob
|
blame
|
history
testsuite/chown.test
patch
|
blob
|
blame
|
history
testsuite/daemon-gzip-download.test
patch
|
blob
|
blame
|
history
testsuite/daemon-gzip-upload.test
patch
|
blob
|
blame
|
history
testsuite/delete.test
patch
|
blob
|
blame
|
history
testsuite/duplicates.test
patch
|
blob
|
blame
|
history
testsuite/exclude.test
patch
|
blob
|
blame
|
history
testsuite/hardlinks.test
patch
|
blob
|
blame
|
history
testsuite/longdir.test
patch
|
blob
|
blame
|
history
testsuite/merge.test
patch
|
blob
|
blame
|
history
testsuite/symlink-ignore.test
patch
|
blob
|
blame
|
history
testsuite/trimslash.test
patch
|
blob
|
blame
|
history
testsuite/unsafe-links.test
patch
|
blob
|
blame
|
history
testsuite/wildmatch.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/batch-mode.test
b/testsuite/batch-mode.test
index
a6af81e
..
a767ae0
100644
(file)
--- a/
testsuite/batch-mode.test
+++ b/
testsuite/batch-mode.test
@@
-9,6
+9,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
hands_setup
cd "$tmpdir"
hands_setup
cd "$tmpdir"
diff --git
a/testsuite/chgrp.test
b/testsuite/chgrp.test
index
e65fc0e
..
82474b9
100644
(file)
--- a/
testsuite/chgrp.test
+++ b/
testsuite/chgrp.test
@@
-11,6
+11,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
# Build some hardlinks
mygrps="`rsync_getgroups`" || fail "Can't get groups"
# Build some hardlinks
mygrps="`rsync_getgroups`" || fail "Can't get groups"
diff --git
a/testsuite/chmod-temp-dir.test
b/testsuite/chmod-temp-dir.test
index
f17f3cc
..
5fda2b1
100644
(file)
--- a/
testsuite/chmod-temp-dir.test
+++ b/
testsuite/chmod-temp-dir.test
@@
-11,6
+11,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
hands_setup
tmpdir2=/tmp
hands_setup
tmpdir2=/tmp
diff --git
a/testsuite/chmod.test
b/testsuite/chmod.test
index
4f46045
..
af5e79f
100644
(file)
--- a/
testsuite/chmod.test
+++ b/
testsuite/chmod.test
@@
-11,6
+11,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
hands_setup
chmod 440 "$fromdir/text"
hands_setup
chmod 440 "$fromdir/text"
diff --git
a/testsuite/chown.test
b/testsuite/chown.test
index
cd841fa
..
755ffdf
100644
(file)
--- a/
testsuite/chown.test
+++ b/
testsuite/chown.test
@@
-13,6
+13,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
# Build some hardlinks
mkdir "$fromdir"
# Build some hardlinks
mkdir "$fromdir"
diff --git
a/testsuite/daemon-gzip-download.test
b/testsuite/daemon-gzip-download.test
index
383d897
..
62e39f8
100644
(file)
--- a/
testsuite/daemon-gzip-download.test
+++ b/
testsuite/daemon-gzip-download.test
@@
-26,6
+26,8
@@
build_rsyncd_conf
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
+set -x
+
hands_setup
# Build chkdir with a normal rsync and an --exclude.
hands_setup
# Build chkdir with a normal rsync and an --exclude.
diff --git
a/testsuite/daemon-gzip-upload.test
b/testsuite/daemon-gzip-upload.test
index
49a7b1a
..
363e846
100644
(file)
--- a/
testsuite/daemon-gzip-upload.test
+++ b/
testsuite/daemon-gzip-upload.test
@@
-20,6
+20,8
@@
build_rsyncd_conf
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
RSYNC_CONNECT_PROG="$RSYNC --config=$conf --daemon"
export RSYNC_CONNECT_PROG
+set -x
+
hands_setup
# Build chkdir with a normal rsync and an --exclude.
hands_setup
# Build chkdir with a normal rsync and an --exclude.
diff --git
a/testsuite/delete.test
b/testsuite/delete.test
index
99791d5
..
1400bc2
100644
(file)
--- a/
testsuite/delete.test
+++ b/
testsuite/delete.test
@@
-9,6
+9,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
hands_setup
makepath "$chkdir"
hands_setup
makepath "$chkdir"
diff --git
a/testsuite/duplicates.test
b/testsuite/duplicates.test
index
a96f560
..
23d2994
100644
(file)
--- a/
testsuite/duplicates.test
+++ b/
testsuite/duplicates.test
@@
-21,6
+21,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
# Build some hardlinks
mkdir "$fromdir"
# Build some hardlinks
mkdir "$fromdir"
diff --git
a/testsuite/exclude.test
b/testsuite/exclude.test
index
da4c19e
..
9c7b038
100644
(file)
--- a/
testsuite/exclude.test
+++ b/
testsuite/exclude.test
@@
-16,6
+16,8
@@
HOME="$scratchdir"
CVSIGNORE='*.junk'
export HOME CVSIGNORE
CVSIGNORE='*.junk'
export HOME CVSIGNORE
+set -x
+
# Build some files/dirs/links to copy
makepath "$fromdir/foo/down/to/you"
# Build some files/dirs/links to copy
makepath "$fromdir/foo/down/to/you"
diff --git
a/testsuite/hardlinks.test
b/testsuite/hardlinks.test
index
f258b2c
..
31005e7
100644
(file)
--- a/
testsuite/hardlinks.test
+++ b/
testsuite/hardlinks.test
@@
-12,6
+12,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
# Build some hardlinks
fromdir="$scratchdir/from"
# Build some hardlinks
fromdir="$scratchdir/from"
diff --git
a/testsuite/longdir.test
b/testsuite/longdir.test
index
b64f542
..
9138acb
100644
(file)
--- a/
testsuite/longdir.test
+++ b/
testsuite/longdir.test
@@
-7,6
+7,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
hands_setup
longname=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
hands_setup
longname=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
diff --git
a/testsuite/merge.test
b/testsuite/merge.test
index
8059814
..
cc7f188
100644
(file)
--- a/
testsuite/merge.test
+++ b/
testsuite/merge.test
@@
-9,6
+9,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
# Build some files/dirs/links to copy
from1dir="${fromdir}1"
# Build some files/dirs/links to copy
from1dir="${fromdir}1"
diff --git
a/testsuite/symlink-ignore.test
b/testsuite/symlink-ignore.test
index
eec7a30
..
42ce2d3
100644
(file)
--- a/
testsuite/symlink-ignore.test
+++ b/
testsuite/symlink-ignore.test
@@
-10,6
+10,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
build_symlinks || test_fail "failed to build symlinks"
# Copy recursively, but without -l or -L or -a, and all the symlinks
build_symlinks || test_fail "failed to build symlinks"
# Copy recursively, but without -l or -L or -a, and all the symlinks
diff --git
a/testsuite/trimslash.test
b/testsuite/trimslash.test
index
d98ff87
..
56e79cc
100644
(file)
--- a/
testsuite/trimslash.test
+++ b/
testsuite/trimslash.test
@@
-9,6
+9,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
"$TOOLDIR/trimslash" "/usr/local/bin" "/usr/local/bin/" "/usr/local/bin///" \
"//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
"$TOOLDIR/trimslash" "/usr/local/bin" "/usr/local/bin/" "/usr/local/bin///" \
"//a//" "////" \
"/Users/Wierd Macintosh Name/// Ooh, translucent plastic/" \
diff --git
a/testsuite/unsafe-links.test
b/testsuite/unsafe-links.test
index
058269e
..
28c5c6d
100644
(file)
--- a/
testsuite/unsafe-links.test
+++ b/
testsuite/unsafe-links.test
@@
-32,6
+32,8
@@
ln -s ../files/file1 "from/safe/links/"
ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/"
ln -s ../files/file2 "from/safe/links/"
ln -s ../../unsafe/unsafefile "from/safe/links/"
+set -x
+
echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to
test_symlink to/links/file1
echo "rsync with relative path and just -a";
$RSYNC -avv from/safe/ to
test_symlink to/links/file1
diff --git
a/testsuite/wildmatch.test
b/testsuite/wildmatch.test
index
e50a4f2
..
71e0ff0
100644
(file)
--- a/
testsuite/wildmatch.test
+++ b/
testsuite/wildmatch.test
@@
-9,6
+9,8
@@
. "$suitedir/rsync.fns"
. "$suitedir/rsync.fns"
+set -x
+
"$TOOLDIR/wildtest" "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found.
"$TOOLDIR/wildtest" "$srcdir/wildtest.txt" >"$scratchdir/wild.out"
diff $diffopt "$scratchdir/wild.out" - <<EOF
No wildmatch errors found.