Browse Source

Fixed a few more bugs

msmith-techempower 10 years ago
parent
commit
5cc1b663fc

+ 4 - 4
toolset/benchmark/test_types/query_type.py

@@ -24,17 +24,17 @@ class QueryTestType(DBTestType):
 
 
     problems = []
     problems = []
     
     
-    response = self._curl(url)
+    response = self._curl(url + '2')
     body = self._curl_body(url + '2')
     body = self._curl_body(url + '2')
     problems += self._verifyQueryList(2, response, body, url + '2')
     problems += self._verifyQueryList(2, response, body, url + '2')
 
 
-    response = self._curl(url)
+    response = self._curl(url + '0')
     body = self._curl_body(url + '0')
     body = self._curl_body(url + '0')
     problems += self._verifyQueryList(1, response, body, url + '0', 'warn')
     problems += self._verifyQueryList(1, response, body, url + '0', 'warn')
 
 
     # Note: A number of tests fail here because they only parse for 
     # Note: A number of tests fail here because they only parse for 
     # a number and crash on 'foo'. For now we only warn about this
     # a number and crash on 'foo'. For now we only warn about this
-    response = self._curl(url)
+    response = self._curl(url + 'foo')
     body = self._curl_body(url + 'foo')
     body = self._curl_body(url + 'foo')
     if body is None:
     if body is None:
       problems += [('warn','No response (this will be a failure in future rounds, please fix)', url)]
       problems += [('warn','No response (this will be a failure in future rounds, please fix)', url)]
@@ -43,7 +43,7 @@ class QueryTestType(DBTestType):
     else:
     else:
       problems += self._verifyQueryList(1, response, body, url + 'foo', 'warn')
       problems += self._verifyQueryList(1, response, body, url + 'foo', 'warn')
 
 
-    response = self._curl(url)
+    response = self._curl(url + '501')
     body = self._curl_body(url + '501')
     body = self._curl_body(url + '501')
     problems += self._verifyQueryList(500, response, body, url + '501', 'warn')
     problems += self._verifyQueryList(500, response, body, url + '501', 'warn')
 
 

+ 1 - 1
toolset/setup/linux/frameworks/duda.sh

@@ -17,6 +17,6 @@ git checkout 7c3d5b03b09fb4cb5f5e338fff72df2e25e95ef0
 ./dudac -s
 ./dudac -s
 
 
 echo "export DUDA_HOME=${DUDA_HOME}" > $IROOT/duda.installed
 echo "export DUDA_HOME=${DUDA_HOME}" > $IROOT/duda.installed
-echo -e "export PATH=\$DUDA_HOME}:$PATH" >> $IROOT/duda.installed
+echo -e "export PATH=\$DUDA_HOME:$PATH" >> $IROOT/duda.installed
 
 
 source $IROOT/duda.installed
 source $IROOT/duda.installed