test_objmgr_loaders.sh
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- #! /bin/sh
- #$Id: test_objmgr_loaders.sh,v 1000.0 2004/04/12 17:43:48 gouriano Exp $
- status_dir="../../../status"
- if test -f "$status_dir/Sybase.enabled"; then
- methods="PUBSEQOS ID1"
- else
- echo Sybase is disabled: skipping PUBSEQOS loader test
- methods="ID1"
- fi
- exitcode=0
- for method in $methods; do
- echo "Checking GenBank loader $method:"
- GENBANK_LOADER_METHOD="$method"
- export GENBANK_LOADER_METHOD
- $CHECK_EXEC "$@"
- error=$?
- if test $error -ne 0; then
- echo "Test of GenBank loader $method failed: $error"
- exitcode=$error
- case $error in
- # signal 1 (HUP), 2 (INTR), 9 (KILL), or 15 (TERM).
- 129|130|137|143) echo "Apparently killed"; break ;;
- esac
- fi
- done
- exit $exitcode
- #
- # ===========================================================================
- # PRODUCTION $Log: test_objmgr_loaders.sh,v $
- # PRODUCTION Revision 1000.0 2004/04/12 17:43:48 gouriano
- # PRODUCTION PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.2
- # PRODUCTION
- # ===========================================================================
- #