test_ncbi_namedpipe.sh
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
- #! /bin/sh
- # $Id: test_ncbi_namedpipe.sh,v 1000.2 2004/06/01 18:46:13 gouriano Exp $
- exit_code=0
- test_ncbi_namedpipe server $$ &
- server_pid=$!
- trap 'kill -9 $server_pid' 1 2 15
- sleep 4
- $CHECK_EXEC test_ncbi_namedpipe client $$ || exit_code=1
- kill $server_pid || exit_code=2
- ( kill -9 $server_pid ) >/dev/null 2>&1
- rm ./.ncbi_test_pipename$$ >/dev/null 2>&1
- exit $exit_code
- #
- # ===========================================================================
- # PRODUCTION $Log: test_ncbi_namedpipe.sh,v $
- # PRODUCTION Revision 1000.2 2004/06/01 18:46:13 gouriano
- # PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.6
- # PRODUCTION
- # ===========================================================================
- #