[Bps-public-commit] SD branch, master, updated. cc3971743306c56009874ccd751bf0a3f5bdcb7d

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Aug 16 23:55:18 EDT 2009


The branch, master has been updated
       via  cc3971743306c56009874ccd751bf0a3f5bdcb7d (commit)
      from  61ea767128fea0ef8f1281f1db1b75ef62011b3b (commit)

Summary of changes:
 lib/App/SD/Test.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit cc3971743306c56009874ccd751bf0a3f5bdcb7d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Aug 17 11:55:08 2009 +0800

    add USER env to be nobody if not defined in test

diff --git a/lib/App/SD/Test.pm b/lib/App/SD/Test.pm
index 6126d09..e6644a7 100644
--- a/lib/App/SD/Test.pm
+++ b/lib/App/SD/Test.pm
@@ -26,6 +26,7 @@ BEGIN {
     print "setting SD_CONFIG to " . $tmp_config->filename . "\n";
     $ENV{'SD_CONFIG'} = $tmp_config->filename;
     $ENV{'PROPHET_EMAIL'} = 'nobody at example.com';
+    $ENV{'USER'} ||= 'nobody';
 }
 
 =head2 create_ticket_ok ARGS

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list