#!/bin/ksh
#
#pragma ident "@(#)tests6.tst	1.6      01/07/27 SMI"
# 
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#
#
# Original Author: Michael Koller
# Modified by:	   Andrew McCarthy
#

# variables
hctsdir=SUNWhcts			# base directory
hname=$1			# test system
testcmd=tests/str/sysinfo.stf	# harddrive test
prgdir=prgs			# program directory

# functions

# do function
go_fun()
{
	$prgdir/funcs "$*" 2>&1
}	

### MAIN ###

# change to base directory
cd `dirname $0`
while [ `basename $PWD` != $hctsdir ]
do
	cd ..
done

echo "h:<HR><B><U>Storage tests - sysinfo</U></B>:"
echo "X:4:$testcmd"

echo "T:Info to get<br><dl><DT>all<DD>Everything<DT>hw<DD>memory, CPUs, bus, devices, IRQs<DT>disk<DD>Disk and HBA controllers<DT>drv<DD>All drivers<DT>net<DD>Network controllers, drivers and configuration<DT>video<DD>video card, config, monitor, mouse<DT>audio<DD>card and configuration<DT>sw<DD>domainname, hostid, IP, memory, swap, mounts<DT>patches<DD>kernel, OS, applied patches</DL>:all"
echo "x:5:"

go_fun runt 1 0 1 1
