From c353e6091380d48c0388565e3b08a327b3146a92 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Sun, 25 Aug 2013 18:06:22 -0700 Subject: [PATCH] correction: pexpect.timeout -> TIMEOUT --- util/vm/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/vm/build.py b/util/vm/build.py index b874e05a..22683c98 100755 --- a/util/vm/build.py +++ b/util/vm/build.py @@ -427,7 +427,7 @@ def interact( vm ): # know the time for each test, which means that this # script will have to change as we add more tests. for test in range( 0, 2 ): - if vm.expect( [ 'OK', 'FAILED', pexpect.timeout ], timeout=60 ) == 0: + if vm.expect( [ 'OK', 'FAILED', pexpect.TIMEOUT ], timeout=60 ) == 0: log( '* Test', test, 'OK' ) else: log( '* Test', test, 'FAILED' ) -- GitLab