summaryrefslogtreecommitdiff
path: root/tests/cvs-single-commit.setup
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cvs-single-commit.setup')
-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"