#!/bin/sh # # Blackbox test for valid users. # if [ $# -lt 7 ]; then cat < $tmpfile </dev/null 2>&1 ret=$? if [ $ret = 0 ] ; then # got the correct prompt .. succeed true else echo "$out" echo "failed listing share with valid users" false fi } testit "accessing a valid users share succeeds" \ test_valid_users_access valid-users-access || \ failed=`expr $failed + 1` exit $failed