ceph/teuthology/task/chdir-coredump
Sage Weil 94f0ba1efe run valgrind with cwd set to /tmp/cephtest/archive/coredump
This lets us capture the vgcore.* files, which always go to valgrind's
cwd.

Fixes: #1953
2012-03-18 10:48:51 -07:00

8 lines
109 B
Bash

#!/bin/sh
set -e
# valgrind only dumps to cwd, so cwd there...
cd /tmp/cephtest/archive/coredump
exec "$@"