#!/bin/sh if [ $# -lt 2 ]; then cat </dev/null 2>&1 if [ $? = 0 ]; then # got ACCESS_DENIED .. fail echo vfstest got NT_STATUS_ACCESS_DENIED false else true fi } testit "vfstest" test_vfstest || failed=$(expr $failed + 1) exit $failed