⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runtests.wrk

📁 早期freebsd实现
💻 WRK
字号:
:#!/bin/sh##       @(#)runtests.wrk	1.4 90/01/09 NFS Rev 2 testsuite#      1.4 Lachman ONC Test Suite  source##  This script is intended to be invoked from 'runtests'#  Don't run it manuallycase x$1 in    xFROM_RUNTESTS)	;;    *)	echo "$0 must be run from 'runtests' - Don't run manually"	exit 1	;;esacTIME=time# if the default time command doesn't return the right format,# you may have to use the following lines#TIME=/bin/time#if [ ! -f $TIME ]#then#	TIME=/usr/bin/time#	if [ ! -f $TIME ]#	then#		echo "Where is the time command?"#		exit 1#	fi#fichmod 777 large4.sh mkdummy rmdummyumask 0# use the appropriate CFLAGSCFLAGS="-O $SYSTYPE $UTS"echo ""echo "Small Compile"rm -f smcomp.time$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.timeset -estat smcomp.timeset +eecho ""echo "Tbl"rm -f tbl.time$TIME tbl nroff.in > nroff.tbl 2>> tbl.time$TIME tbl nroff.in > nroff.tbl 2>> tbl.time$TIME tbl nroff.in > nroff.tbl 2>> tbl.time$TIME tbl nroff.in > nroff.tbl 2>> tbl.time$TIME tbl nroff.in > nroff.tbl 2>> tbl.timeset -estat tbl.timeset +eecho ""echo "Nroff"rm -f nroff.time$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time$TIME nroff < nroff.tbl > nroff.out 2>> nroff.timerm nroff.out nroff.tblset -estat nroff.timeset +eecho ""echo "Large Compile"rm -f lrgcomp.time$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.timerm largeset -estat lrgcomp.timeset +eecho ""echo "Four simultaneous large compiles"rm -f 4lrg.time$TIME large4.sh 2>> 4lrg.time$TIME large4.sh 2>> 4lrg.time$TIME large4.sh 2>> 4lrg.time$TIME large4.sh 2>> 4lrg.time$TIME large4.sh 2>> 4lrg.timeset -estat 4lrg.timeset +eecho ""echo "Makefile"mkdummyrm -f makefile.time$TIME make -f makefile.tst > /dev/null 2>> makefile.time$TIME make -f makefile.tst > /dev/null 2>> makefile.time$TIME make -f makefile.tst > /dev/null 2>> makefile.time$TIME make -f makefile.tst > /dev/null 2>> makefile.time$TIME make -f makefile.tst > /dev/null 2>> makefile.timermdummyset +estat makefile.timeset -eecho ""echo "General tests complete"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -