summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/runtest4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index 157ff050a..c95e5a021 100755
--- a/test/runtest
+++ b/test/runtest
@@ -83,6 +83,10 @@ $parm_port_d4 = 1228; # Additional for daemon
# Manually set locale
$ENV{'LC_ALL'} = 'C';
+# In some environments USER does not exists, but we
+# need it for some test(s)
+$ENV{USER} = getpwuid($>)
+ if not exists $ENV{USER};
###############################################################################