Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
[rsync/rsync.git]
/
testsuite
/
chown.test
diff --git
a/testsuite/chown.test
b/testsuite/chown.test
index
755ffdf
..
90af529
100644
(file)
--- a/
testsuite/chown.test
+++ b/
testsuite/chown.test
@@
-15,6
+15,16
@@
set -x
set -x
+case `id -u` in
+'') ;; # If "id" failed, try to continue...
+0) ;;
+*) if [ -f /usr/bin/fakeroot ]; then
+ echo "Let's try re-running the script under fakeroot..."
+ exec /usr/bin/fakeroot /bin/sh "$0"
+ fi
+ ;;
+esac
+
# Build some hardlinks
mkdir "$fromdir"
# Build some hardlinks
mkdir "$fromdir"