]> 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 19:05:02 +0000 (12:05 -0700)
commit8e493ef23b1a70e19aaee63f656706d2aa004068
tree362409728d65ed45b76cfca6b93c82790b34534f
parent1575895bdc525b584e094e08dfdafb4a11bab5f9
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