view tests/0043/clean.sh @ 563:c6036e0a511a

Work around the non-universality of fdatasync() POSIX, which specifies fdatasync(), also apparently specifies that POSIX_SYNCHRONIZED_IO is defined to a non-zero value if fdatasync() is available -- or at least that's what the man page suggests on Linux. This is probably good enough for us, anyway.
author mas01cr
date Thu, 18 Jun 2009 11:01:31 +0000
parents da901c62e569
children
line wrap: on
line source
#! /bin/sh

if [ -d dbdir ]; then
    rm -rf dbdir
fi

if [ -d fdir ]; then
    rm -rf fdir
fi