https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98823
--- Comment #11 from Ian Lance Taylor <ian at airs dot com> --- I'm just noting that DejaGNU appears to have a bug in the standard_wait procedure: http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=blob;f=lib/remote.exp;h=1c9971a076415adc2fcdc04ab8f78cc832ce1098;hb=HEAD#l1162 The code seems to assume that the parameter timeout will set the timeout for the remote_expect. But as far as I can tell, when running under expect, "timeout" is always a global variable. So the $timeout that appears in the function refers to the global variable named "timeout", not the parameter named "timeout". This means that although the DejaGNU procedure unix_load appears to set the timeout to the value of the global variable "test_timeout", and logs various messages to that effect, in fact that variable has no effect. Only the variable "timeout" matters. However, this DejaGNU bug is not important in the larger scheme of things and does not seem to affect this issue.