summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorjim.wunderlich <jim.wunderlich>2006-02-14 22:17:39 +0000
committerjim.wunderlich <jim.wunderlich>2006-02-14 22:17:39 +0000
commit267643a8b1de4453db6dc8e5ed2aa0e5ffe42df5 (patch)
tree4c81cea9f7fffa5838782d08692f8f37e5c036b6 /test
parentb3eb4f4be41a3fa0e4e91131f66af108c287a2ff (diff)
downloadtog-pegasus-267643a8b1de4453db6dc8e5ed2aa0e5ffe42df5.zip
tog-pegasus-267643a8b1de4453db6dc8e5ed2aa0e5ffe42df5.tar.gz
tog-pegasus-267643a8b1de4453db6dc8e5ed2aa0e5ffe42df5.tar.xz
BUG#: 4762
TITLE: EnableAuthentication in standardtest fail trying to use user "guest" DESCRIPTION: This change introduces the concept of a test user that can be specified when the test are running rather than hard coding everything to "guest". This changes all the hardcoded "guest" user_id and passwords to use the environment variables PEGASUS_TEST_USER_ID and PEGASUS_TEST_USER_PASS. Currently PEGASUS_TEST_USER_ID and PEGASUS_TEST_USER_PASS both default to guest if they are not specified within the users environment. See the file pegasus/mak/test.mak for more comments regarding the concept of System wide user ID's and passwords to be used within the pegasus test environment.
Diffstat (limited to 'test')
-rw-r--r--test/config.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/config.mak b/test/config.mak
index 7925160..b1cb1ef 100644
--- a/test/config.mak
+++ b/test/config.mak
@@ -34,8 +34,8 @@ HOSTNAME =
PORT =
HTTPMETHOD = -m M-POST
HTTPVERSION = -v 1.1
-USER = -u guest
-PASSWORD = -w guest
+USER = -u $(PEGASUS_TEST_USER_ID)
+PASSWORD = -w $(PEGASUS_TEST_USER_PASS)
SSL =
XMLREQUESTS = $(foreach i, $(XMLSCRIPTS), $i.xml)