/* ----------------------------------------------
*/
#include "specs.h"

/* -------------------------- */
STATIC void test56()
{
uint16_t bitmap;
uint16_t vol = VolID;

	ENTER_TEST
    bitmap = (1 << VOLPBIT_ATTR  )
	    |(1 << VOLPBIT_SIG   )
    	|(1 << VOLPBIT_CDATE )
	    |(1 << VOLPBIT_MDATE )
    	|(1 << VOLPBIT_BDATE )
	    |(1 << VOLPBIT_VID   )
    	|(1 << VOLPBIT_BFREE )
	    |(1 << VOLPBIT_BTOTAL)
    	|(1 << VOLPBIT_NAME);
#if 0
	    |(1 << VOLPBIT_XBFREE)
    	|(1 << VOLPBIT_XBTOTAL)
	    |(1 << VOLPBIT_BSIZE);
#endif
 	FAIL (FPGetVolParam(Conn, vol, bitmap))
 	FAIL (htonl(AFPERR_PARAM) != FPGetVolParam(Conn, vol +1, bitmap))
 	FAIL (htonl(AFPERR_BITMAP) != FPGetVolParam(Conn, vol , 0xffff))

	exit_test("FPGetVolParms:test56: Volume parameters");
} 

/* ----------- */
void FPGetVolParms_test()
{
    ENTER_TESTSET
	test56();
}
