From: Loic Dachary Date: Sun, 21 Dec 2014 08:33:46 +0000 (+0100) Subject: tests: docker-test.sh commands are relative to git root X-Git-Tag: v0.92~109^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7b68f70a2e43bddd23661bd6a4abea8ba078b15a;p=ceph.git tests: docker-test.sh commands are relative to git root Instead of being in the src directory. Forcing the working directory to src is convenient to run unittests individually without the need to change directory, but it is confusing to the user. Signed-off-by: Loic Dachary --- diff --git a/src/test/docker-test-helper.sh b/src/test/docker-test-helper.sh index 108f4b012cb..d2ebc236539 100755 --- a/src/test/docker-test-helper.sh +++ b/src/test/docker-test-helper.sh @@ -139,7 +139,7 @@ function run_in_docker() { if test "$script" = "bash" ; then $cmd --tty --interactive --workdir $downstream $user $dev $image bash else - if ! $cmd --workdir $downstream/src $user $dev $image "$@" ; then + if ! $cmd --workdir $downstream $user $dev $image "$@" ; then status=1 fi fi