summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-08-28 14:38:32 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-08-28 14:38:32 +0100
commit05f41b326febc6bc379c214d2ae54a0f7cc8331e (patch)
treeefb727f8cf85138fd8c3393a3437d4339be93144 /tests
parent4e6f9187537a479be8260c66fbc5fbbceac585bf (diff)
downloadlorry-05f41b326febc6bc379c214d2ae54a0f7cc8331e.tar.gz
Set $USER etc for CVS test setup script
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cvs-single-commit.setup5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cvs-single-commit.setup b/tests/cvs-single-commit.setup
index c94f07c..537de81 100755
--- a/tests/cvs-single-commit.setup
+++ b/tests/cvs-single-commit.setup
@@ -20,6 +20,11 @@
set -e
+# CVS wants $USER, $LOGNAME, and $LOGNAME set to a real username.
+export USER=root
+export LOGNAME=$USER
+export USERNAME=$USER
+
# create the repository
repo="$DATADIR/cvs-test-repo"
export CVSROOT="$repo"