[Pkg-shadow-commits] r618 - trunk/tests

Alexander Gattin xrgtn-guest at costa.debian.org
Sun Oct 23 07:56:24 UTC 2005


Author: xrgtn-guest
Date: 2005-10-23 07:56:24 +0000 (Sun, 23 Oct 2005)
New Revision: 618

Modified:
   trunk/tests/bug334803-test.exp
Log:
use more intuitive name for failure indicator

Modified: trunk/tests/bug334803-test.exp
===================================================================
--- trunk/tests/bug334803-test.exp	2005-10-22 22:30:22 UTC (rev 617)
+++ trunk/tests/bug334803-test.exp	2005-10-23 07:56:24 UTC (rev 618)
@@ -60,13 +60,13 @@
     -re "$shpmt" {
 	# 5a. got to parent shell -- resuming swuser's shell by `fg`:
 	send "fg\r"
-	set fg yes
+	set hung no
     }
     timeout {
 	# 5b. `suspend -f` has hung -- resuming swuser's shell by SIGCONT:
 	send_error "kill $swppid\n"
 	send_error [exec kill -CONT $swppid]
-	set fg no
+	set hung yes
     }
 }
 expect -re "$shpmt" {}
@@ -78,6 +78,6 @@
 expect eof {}
 #send_error [wait -nowait]\n
 #exec kill -KILL -[exp_pid]
-if {!$fg} {send_error "BUGGY\n" ; exit 3 }
+if {$hung} {send_error "BUGGY\n" ; exit 3 }
 
 # vi:set sw=4:




More information about the Pkg-shadow-commits mailing list