Browse code

Horizon front page test fix

Fixes the test string in horizon front page test so it is not failing
when header tag gets new attributes

Change-Id: Ibf62bf6f6300eeb0ab2f22086b0ff1c05c69d86b

Jiri Tomasek authored on 2014/12/02 21:23:19
Showing 1 changed files
... ...
@@ -36,7 +36,7 @@ source $TOP_DIR/exerciserc
36 36
 is_service_enabled horizon || exit 55
37 37
 
38 38
 # can we get the front page
39
-curl http://$SERVICE_HOST 2>/dev/null | grep -q '<h3>Log In</h3>' || die $LINENO "Horizon front page not functioning!"
39
+curl http://$SERVICE_HOST 2>/dev/null | grep -q '<h3.*>Log In</h3>' || die $LINENO "Horizon front page not functioning!"
40 40
 
41 41
 set +o xtrace
42 42
 echo "*********************************************************************"