|
From: <sv...@va...> - 2014-10-20 20:59:20
|
Author: florian
Date: Mon Oct 20 21:59:13 2014
New Revision: 14643
Log:
Fix some testcases which implicitly assumed that TMPDIR was either
not set or set to /tmp This is not always true. Fixes BZ 340115.
Patch by rhy...@gm....
Modified:
trunk/NEWS
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
trunk/none/tests/filter_cmdline1
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Oct 20 21:59:13 2014
@@ -46,6 +46,7 @@
339853 arm64 times syscall unknown
339855 arm64 unhandled getsid/setsid syscalls
339858 arm64 dmb sy not implemented
+340115 Fix none/tests/cmdline[1|2] tests on systems which define TMPDIR
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
n-i-bz Fix compilation on distros with glibc < 2.5
Modified: trunk/none/tests/cmdline1.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline1.stdout.exp (original)
+++ trunk/none/tests/cmdline1.stdout.exp Mon Oct 20 21:59:13 2014
@@ -89,7 +89,7 @@
DRD) [no]
--vgdb-poll=<number> gdbserver poll max every <number> basic blocks [5000]
--vgdb-shadow-registers=no|yes let gdb see the shadow registers [no]
- --vgdb-prefix=<prefix> prefix for vgdb FIFOs [/tmp/vgdb-pipe]
+ --vgdb-prefix=<prefix> prefix for vgdb FIFOs [.../vgdb-pipe]
--run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]
--sim-hints=hint1,hint2,... activate unusual sim behaviours [none]
where hint is one of:
Modified: trunk/none/tests/cmdline2.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline2.stdout.exp (original)
+++ trunk/none/tests/cmdline2.stdout.exp Mon Oct 20 21:59:13 2014
@@ -89,7 +89,7 @@
DRD) [no]
--vgdb-poll=<number> gdbserver poll max every <number> basic blocks [5000]
--vgdb-shadow-registers=no|yes let gdb see the shadow registers [no]
- --vgdb-prefix=<prefix> prefix for vgdb FIFOs [/tmp/vgdb-pipe]
+ --vgdb-prefix=<prefix> prefix for vgdb FIFOs [.../vgdb-pipe]
--run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]
--sim-hints=hint1,hint2,... activate unusual sim behaviours [none]
where hint is one of:
Modified: trunk/none/tests/filter_cmdline1
==============================================================================
--- trunk/none/tests/filter_cmdline1 (original)
+++ trunk/none/tests/filter_cmdline1 Mon Oct 20 21:59:13 2014
@@ -1,5 +1,6 @@
#! /bin/sh
sed -e 's/\(set minimum alignment of heap allocations\) \[[0-9]*\]/\1 [...]/' \
- -e 's/\(command to start debugger\) \[.* -nw %f %p\]/\1 [... -nw %f %p]/'
+ -e 's/\(command to start debugger\) \[.* -nw %f %p\]/\1 [... -nw %f %p]/' \
+ -e 's/\(prefix for vgdb FIFOs\) \[.*\/vgdb-pipe\]/\1 [...\/vgdb-pipe]/'
|