1#!/bin/sh 2 3. ./functions.sh 4 5echo "NFSv${VERS} Open(O_CREAT) test." 6 7start_share 8 9echo -n "test open(O_RDWR|O_CREAT) (1) ... " 10./prog_open_write "${TESTURL}/?version=${VERS}" "." /create1 O_WRONLY,O_CREAT LordOfCinder >/dev/null || failure 11success 12 13echo -n "Verify the file content ... " 14grep LordOfCinder "${TESTDIR}/create1" >/dev/null || failure 15success 16 17stop_share 18 19exit 0 20