This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv+7.5] testsuite: attach-twice.exp: Remove excessive ps exec


Hi,

I found I just forgot some excessive line in a testcase.

This causes on systems without /bin/ps:

Running gdb/testsuite/gdb.base/attach-twice.exp ...
PASS: gdb.base/attach-twice.exp: attach
ERROR: tcl error sourcing gdb/testsuite/gdb.base/attach-twice.exp.
ERROR: couldn't execute "ps": no such file or directory
    while executing
"exec ps xfw"
    ("eval" body line 1)
    invoked from within
"eval exec ps xfw"
    (file "gdb/testsuite/gdb.base/attach-twice.exp" line 48)
    invoked from within
"source gdb/testsuite/gdb.base/attach-twice.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source gdb/testsuite/gdb.base/attach-twice.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""


Checked in and also for 7.5.  I understand system without /bin/ps may be more
specific to my setup.

For HEAD below and for 7.5:
	http://sourceware.org/ml/gdb-cvs/2012-08/msg00104.html


Sorry,
Jan


http://sourceware.org/ml/gdb-cvs/2012-08/msg00103.html

--- src/gdb/testsuite/ChangeLog	2012/08/13 21:14:47	1.3336
+++ src/gdb/testsuite/ChangeLog	2012/08/14 18:47:37	1.3337
@@ -1,3 +1,7 @@
+2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.base/attach-twice.exp: Remove excessive ps exec.
+
 2012-08-13  Doug Evans  <dje@google.com>
 
 	* gdb.base/help.exp: Update expected output.
--- src/gdb/testsuite/gdb.base/attach-twice.exp	2012/03/13 15:02:25	1.1
+++ src/gdb/testsuite/gdb.base/attach-twice.exp	2012/08/14 18:47:37	1.2
@@ -45,7 +45,6 @@
     }
 }
 
-eval exec ps xfw
 if {$parentpid != 0} {
   eval exec kill -9 $parentpid
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]