This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
gdbtk testsuite patch: Xvfb access control
- To: gdb-patches at sources dot redhat dot com
- Subject: gdbtk testsuite patch: Xvfb access control
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Sat, 15 Sep 2001 13:22:44 -0400
Hi -
I'm committing the following approved/obvious patch to gdb/testsuite.
It tells Xvfb (used by gdb.gdbtk tests) to turn off any excess security,
that on some platforms prevents the test execution.
2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
the "-ac" (disable access control) flags.
Index: lib/insight-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/insight-support.exp,v
retrieving revision 1.1
diff -u -r1.1 insight-support.exp
--- insight-support.exp 2001/08/30 16:34:04 1.1
+++ insight-support.exp 2001/09/15 17:05:34
@@ -116,7 +116,7 @@
}
} elseif {!$_using_windows && [which Xvfb] != 0} {
set screen ":[getpid]"
- set pid [spawn Xvfb $screen]
+ set pid [spawn Xvfb $screen -ac]
set _xvfb_spawn_id $spawn_id
set env(DISPLAY) $screen
} else {