OLD | NEW |
1 # Copyright 1997-1999, 2003, 2007-2012 Free Software Foundation, Inc. | 1 # Copyright 1997-1999, 2003, 2007-2012 Free Software Foundation, Inc. |
2 | 2 |
3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
6 # (at your option) any later version. | 6 # (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
12 # | 12 # |
13 # You should have received a copy of the GNU General Public License | 13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 14 # along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
15 | 15 |
16 if $tracelevel then { | |
17 strace $tracelevel | |
18 } | |
19 | |
20 global usestubs | |
21 | |
22 # | 16 # |
23 # test running programs | 17 # test running programs |
24 # | 18 # |
25 | 19 |
26 # This test exists solely to exercise the "environment" commands for | 20 # This test exists solely to exercise the "environment" commands for |
27 # code-coverage on HP-UX. | 21 # code-coverage on HP-UX. |
28 # | 22 # |
29 if ![istarget "hppa*-*-hpux*"] then { | 23 if ![istarget "hppa*-*-hpux*"] then { |
30 return | 24 return |
31 } | 25 } |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 gdb_expect { | 318 gdb_expect { |
325 -re "Executable and object file path: /tmp/FOOBARBAZGRUNGESPAZBALL.*$gdb_promp
t $"\ | 319 -re "Executable and object file path: /tmp/FOOBARBAZGRUNGESPAZBALL.*$gdb_promp
t $"\ |
326 {pass "show paths"} | 320 {pass "show paths"} |
327 -re "$gdb_prompt $"\ | 321 -re "$gdb_prompt $"\ |
328 {fail "show paths"} | 322 {fail "show paths"} |
329 timeout {fail "(timeout) show paths"} | 323 timeout {fail "(timeout) show paths"} |
330 } | 324 } |
331 | 325 |
332 gdb_exit | 326 gdb_exit |
333 return 0 | 327 return 0 |
OLD | NEW |