#!/bin/sh
# $Id: mountpoint.in,v 1.9 2000/07/19 00:07:02 assar Exp $
FS=${FS:-${objdir}/../appl/fs/fs}
${FS} sa . system:anyuser all || exit 1
${FS} mkm root root.afs || exit 1
test -d root || exit 1
${FS} rmm root || exit 1
${FS} mkm no-such-volume no-such-volume 2>/dev/null || exit 1
if ls no-such-volume 2>/dev/null && touch no-such-volume/foo 2>/dev/null; then
  ${FS} rmm no-such-volume; exit 1
fi
${FS} rmm no-such-volume || exit 1
