chiark / gitweb /
Testing: Login/logout interrupted session tests
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:36:18 +0000 (16:36 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:36:18 +0000 (16:36 +0000)
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tests/autotest

index 2561f5667fb24e268f2a344baf996d633477a943..a999b3223a6663be3807c8780b588b6144db39d4 100755 (executable)
@@ -72,6 +72,24 @@ send "/Logout\r"
 submitform-expect "You have been logged out"
 
 send "B\x10/Make sponges\r"
-#submitform-expect "Something sane"
+submitform-expect "You need to log in"
+
+fillformfield bob
+fillformfield sesame
+send "\t"
+submitform-expect "ACCESSGRANTED"
+
+send "/Logout\r"
+submitform-expect "You have been logged out"
+
+send "/Log in again\r"
+submitform-expect "need to log in"
+fillformfield bob
+fillformfield sesame
+send "\t"
+submitform-expect "ACCESSGRANTED"
+
+send "BBB\x10/Make sponges\r"
+submitform-expect "Login session interrupted"
 
 puts ok