ceph/teuthology/task/chdir-coredump

9 lines
143 B
Bash

#!/bin/sh
set -e
testdir=$(readlink -e $(dirname $0))
# valgrind only dumps to cwd, so cwd there...
cd ${testdir}/archive/coredump
exec "$@"