From 9b9d16b2f3ac3a5cf3f4a39aecb1e6746017489f Mon Sep 17 00:00:00 2001
From: Darshit Shah <darnir@gmail.com>
Date: Sun, 1 Sep 2013 12:04:15 +0530
Subject: [PATCH] Edit non-unique TEST_NAME variable

---
 testenv/ChangeLog                 | 5 +++++
 testenv/README                    | 7 +++++++
 testenv/Test-auth-no-challenge.py | 2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/testenv/ChangeLog b/testenv/ChangeLog
index 904a6e95..992ac8a9 100644
--- a/testenv/ChangeLog
+++ b/testenv/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-31  Darshit Shah  <darnir@gmail.com>
+
+	* README: Explain that TEST_NAME needs to be unique
+	* Test-auth-no-challenge.py: Edit non-unique TEST_NAME
+
 2013-08-31  Darshit Shah  <darnir@gmail.com>
 
 	* HTTPTest.py (ServerError): Define new Exception for handling
diff --git a/testenv/README b/testenv/README
index 742b6a0d..3a71f0cb 100644
--- a/testenv/README
+++ b/testenv/README
@@ -206,6 +206,13 @@ also be added to the XFAIL_TESTS variable. This will allow expected failures to
 pass through. If a test mentioned in the XFAIL_TESTS variable passes, it gets
 red-flagged as a XPASS.
 
+Remember to always name the Test correctly using the TEST_NAME variable. This
+is essential since a directory with the Test Name is created and this can
+cause synchronization problems when the Parallel Test Harness is used.
+One can use the following command on Unix systems to check for TEST_NAME
+clashes:
+$ grep -r -h "TEST_NAME =" | cut -c13- | uniq -c -d
+
 Requirements:
 ================================================================================
 
diff --git a/testenv/Test-auth-no-challenge.py b/testenv/Test-auth-no-challenge.py
index 041a638c..ab7b297a 100755
--- a/testenv/Test-auth-no-challenge.py
+++ b/testenv/Test-auth-no-challenge.py
@@ -6,7 +6,7 @@ from WgetTest import HTTPTest, WgetFile
     This test ensures Wget's Basic Authorization Negotiation, when the
     --auth-no-challenge command is used.
 """
-TEST_NAME = "Digest Authorization"
+TEST_NAME = "Auth No Challenge Command"
 ############# File Definitions ###############################################
 File1 = "Need a cookie?"