ncbi源码

源代码在线查看: test_ncbi_system.sh

软件大小: 13605 K
上传用户: lovely19891019
关键词: ncbi 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				#! /bin/sh				# $Id: test_ncbi_system.sh,v 1000.2 2004/04/21 14:35:21 gouriano Exp $								$CHECK_EXEC test_ncbi_system general				test_general=$?				echo "exit_code(General-test) = $test_general"								$CHECK_EXEC test_ncbi_system cpu				test_cpu=$?				echo "exit_code(CPU-test) = $test_cpu"								$CHECK_EXEC test_ncbi_system mem				test_mem=$?				echo "exit_code(MEM-test) = $test_mem"								test $test_general -eq 0  ||  exit 1								case "`uname -s`" in				 SunOS )				   # exit code 158 -- signal 30 (CPU time exceeded)				   test $test_cpu -eq 255  -o  $test_cpu -eq 158  ||  exit 1				   test $test_mem -eq 0    -o  $test_mem -eq 255  ||  exit 1				   ;;				 Linux | FreeBSD )				   test $test_cpu -eq 137  ||  exit 1				   test $test_mem -eq 0    -o  $test_mem -eq 255  ||  exit 1				   ;;				 Darwin )				   test $test_cpu -eq 255  ||  exit 1				   test $test_mem -eq 0    ||  exit 1				   ;;				 *CYGWIN* )				   test $test_cpu -eq 3    -o  $test_mem -eq 3    ||  exit 1				   ;;				 * )				   test $test_mem -eq 255  ||  exit 1				   test $test_cpu -eq 255  -o  $test_cpu -eq 158  ||  exit 1				   ;;				esac								exit 0				# 				#  ===========================================================================				#  PRODUCTION $Log: test_ncbi_system.sh,v $				#  PRODUCTION Revision 1000.2  2004/04/21 14:35:21  gouriano				#  PRODUCTION PRODUCTION: UPGRADED [CATCHUP_003] Dev-tree R6.18				#  PRODUCTION				#  ===========================================================================				# 											

相关资源