[patch]: Improve spu-info testcase

Markus Deuling deuling@de.ibm.com
Fri Jun 20 12:23:00 GMT 2008


Hello,

if multiple users on the same machine run the testsuite for spu-gdb, gdb.arch/spu-info will fail because of 
access priviliges to the temporary file. This file is created in /var/tmp currently. With this patch I changed
the naming of the file (using speid to seperate different runs) and the location (user dir).

Ok ?


ChangeLog:

	* gdb.arch/spu-info.c  (do_dma_test): Add speid paramter. Change name
	of temporary file to include speid. Delete it after use.
	(main): Update call to do_dma_test.



-- 
  Markus Deuling
  GNU Toolchain for Linux on Cell BE
  deuling@de.ibm.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-spu-info
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080620/04b1d363/attachment.ksh>


More information about the Gdb-patches mailing list