tests: Reformat loopback tests
[openafs.git] / tests / fuse / try-fuse.sh
1 #!/bin/sh -x
2 #
3 # This software has been released under the terms of the IBM Public
4 # License.  For details, see the LICENSE file in the top-level source
5 # directory or online at http://www.openafs.org/dl/license10.html
6 #
7 # This file (software) may also be used separately from OpenAFS
8 # under other licenses, contact the author(s) listed below for details.
9 #
10 # copyright 2011, 2012 Troy Benjegerdes <hozer@hozed.org>
11
12 TESTDIR=$PWD
13 TOPDIR=$PWD/../..
14
15 export LD_LIBRARY_PATH=$TOPDIR/lib
16
17 #in case there's a stale mount here
18 fusermount -u $TESTDIR/mntdir
19
20 $TOPDIR/src/afsd/afsd.fuse -dynroot -fakestat -d -confdir $TESTDIR/conf -cachedir $TESTDIR/vcache -mountdir $TESTDIR/mntdir
21
22
23 fusermount -u $TESTDIR/mntdir