4 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
5 |
# the Free Software Foundation; either version 2 of the License, or |
# the Free Software Foundation; either version 2 of the License, or |
6 |
# (at your option) any later version. |
# (at your option) any later version. |
7 |
# |
# |
8 |
# This program is distributed in the hope that it will be useful, |
# This program is distributed in the hope that it will be useful, |
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 |
# GNU General Public License for more details. |
# GNU General Public License for more details. |
12 |
# |
# |
13 |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
14 |
# along with this program; if not, write to the Free Software |
# along with this program; if not, write to the Free Software |
15 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 |
|
|
17 |
# Please email any bugs, comments, and/or additions to this file to: |
# Please email any bugs, comments, and/or additions to this file to: |
18 |
# bug-dejagnu@gnu.org |
# bug-dejagnu@gnu.org |
78 |
if ![info exists shell_prompt] { # if no prompt, then set it to something generic |
if ![info exists shell_prompt] { # if no prompt, then set it to something generic |
79 |
set shell_prompt ".*> " |
set shell_prompt ".*> " |
80 |
} |
} |
81 |
|
|
82 |
set tries 0 |
set tries 0 |
83 |
set result -1 |
set result -1 |
84 |
set need_respawn 1 |
set need_respawn 1 |
174 |
-re "\[\r\n\]+" { |
-re "\[\r\n\]+" { |
175 |
exp_continue |
exp_continue |
176 |
} |
} |
177 |
timeout { |
timeout { |
178 |
exp_send "\n" |
exp_send "\n" |
179 |
} |
} |
180 |
eof { |
eof { |