#
#                             IP-STB Project
#                   ---------------------------------
#
# Copyright (C) 2006 NXP B.V.
# All Rights Reserved.
#
# Filename  : test.sh
#
# Test script to be run on the target to test phKernelIfce.
#
#
# Rev Date       Author      Comments
#-------------------------------------------------------------------------------
#   1 20061012   batelaan    Initial
#   2 20070329   batelaan    Remove phStbDbg

set -v

# Remove previous instances of modules.
rmmod phKernelIfce_Example
rmmod phKernelIfce_KmoduleTest
rmmod phKernelIfce

echo; echo '#############################################################'; echo
insmod phKernelIfce.ko

printf '\n#######################################################\n\n'
insmod phKernelIfce_KmoduleTest.ko

printf '\n#######################################################\n\n'
sleep 3
phKernelIfce_UserTest
rmmod phKernelIfce_KmoduleTest

printf '\n#######################################################\n\n'
insmod phKernelIfce_Example.ko
phKernelIfce_Example1
rmmod phKernelIfce_Example

