Just to be sure, wait until the filesystem is properly shutdown in the test cases

This commit is contained in:
Sebastian Messmer 2014-11-21 01:12:04 +01:00
parent 18aa7b9def
commit 9b985d98db

View File

@ -26,4 +26,6 @@ void FuseThread::start(int argc, char *argv[]) {
void FuseThread::stop() {
pthread_kill(_child.native_handle(), SIGINT);
_child.join();
//Wait until it is properly shutdown (busy waiting is simple and doesn't hurt much here)
while (_fuse->running()) {}
}