]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Go back to $PWD in fsstress.sh if compiling from source.
authorSandon Van Ness <sandon@inktank.com>
Tue, 8 Oct 2013 18:58:57 +0000 (11:58 -0700)
committerSandon Van Ness <sandon@inktank.com>
Tue, 8 Oct 2013 18:58:57 +0000 (11:58 -0700)
commit60033c31381d36cbbc6c873d7055cbe735f5deb2
treeb9a676d1ca69e5239e5fe557effe3398f4d2ebc5
parenteb06f3738851d27914704821897ed80104c4c29c
Go back to $PWD in fsstress.sh if compiling from source.

Although fsstress was being called with a static path the directory
it was writing to was in the current directory so doing a cd to the
source directory that is made in /tmp and then removing it later
caused it to be unable to write the files in a non-existent dir.

This change gets the current path first and cd's back into it after
it is done compiling fsstress.

Issue #6479.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Alfredo Deza <alfredo.deza@inktank.com>
qa/workunits/suites/fsstress.sh