#!/bin/bash
# meta: proxy=false
# meta: preconfig=./NFS-config
#
# Tests for the PyNFS 'putfh' suite.
#
# PUTFH1a : PUTFH followed by GETFH should end up with original fh (link)
# PUTFH1d : PUTFH followed by GETFH should end up with original fh (directory)
# PUTFH1r : PUTFH followed by GETFH should end up with original fh (file)
# PUTFH2  : PUTFH with bad filehandle should return NFS4ERR_BADHANDLE
#
# Disabled due to currently failing:
#
#   PUTFH1c: PUTFH followed by GETFH should end up with original fh (char)
#
# Disabled due to not making sense in our implementation:
#
#   PUTFH1b: PUTFH followed by GETFH should end up with original fh (block)
#   PUTFH1f: PUTFH followed by GETFH should end up with original fh (fifo)
#   PUTFH1s: PUTFH followed by GETFH should end up with original fh (socket)
#
# Needing further investigation:
#

source ./Macros

#PYNFS_EXEC "$NFS41_EXEC $NFS_HOST:$NFS_HOME PUTFH1a PUTFH1d PUTFH1r PUTFH2 --noinit"
exit $?
