ceph/teuthology/task/chdir-coredump
Sam Lang d9fff40f6b task/chdir-coredump: Use readlink -e
realpath isn't available everywhere, use readlink -e instead.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-02-01 16:07:29 -06:00

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 "$@"