freebsd-ports/benchmarks/unixbench/files/patch-pgms:tst.sh
Stefan Eßer 9a369a50d0 Update bytebench-3.1 to unixbench-4.1.0, based on patches submitted
by SHIMAOKA Shunsuke, with some modifications to the Makefile by me.
The bytebench port was repo-copied to unixbench, before, to preserve
its history.

Submitted by: SHIMAOKA Shunsuke (shimaoka at st dot tutrp dot tut dot ac dot jp)
2005-01-08 22:10:44 +00:00

11 lines
403 B
Bash

--- pgms/tst.sh.orig Sun Dec 19 01:41:24 2004
+++ pgms/tst.sh Sun Dec 19 01:41:49 2004
@@ -14,7 +14,7 @@
#
###############################################################################
ID="@(#)tst.sh:3.4 -- 5/15/91 19:30:24";
-sort >sort.$$ <sort.src
+sort >sort.$$ < ${TESTDIR}/sort.src
od sort.$$ | sort -n +1 > od.$$
grep the sort.$$ | tee grep.$$ | wc > wc.$$
rm sort.$$ grep.$$ od.$$ wc.$$