Deleted Added
full compact
common.sh (146855) common.sh (201526)
1#!/bin/sh
2#
3# Common code used run regression tests for usr.bin/make.
4#
1#!/bin/sh
2#
3# Common code used run regression tests for usr.bin/make.
4#
5# $FreeBSD: head/tools/regression/usr.bin/make/common.sh 146855 2005-06-01 11:25:38Z harti $
5# $FreeBSD: head/tools/regression/usr.bin/make/common.sh 201526 2010-01-04 18:57:22Z obrien $
6
7#
8# Output a message and exit with an error.
9#
10fatal()
11{
12 echo "fatal: $*" >/dev/stderr
13 exit 1

--- 214 unchanged lines hidden (view full) ---

228{
229}
230
231#
232# Clean the test. This simply removes the working and output directories.
233#
234eval_clean()
235{
6
7#
8# Output a message and exit with an error.
9#
10fatal()
11{
12 echo "fatal: $*" >/dev/stderr
13 exit 1

--- 214 unchanged lines hidden (view full) ---

228{
229}
230
231#
232# Clean the test. This simply removes the working and output directories.
233#
234eval_clean()
235{
236 #
237 # If you have special cleaning needs, provide a 'cleanup' shell script.
238 #
239 if [ -n "${TEST_CLEANUP}" ] ; then
240 . ${SRC_DIR}/cleanup
241 fi
236 rm -rf ${WORK_DIR}
237 rm -rf ${OUTPUT_DIR}
238}
239
240#
241# Run the test.
242#
243eval_run()

--- 294 unchanged lines hidden ---
242 rm -rf ${WORK_DIR}
243 rm -rf ${OUTPUT_DIR}
244}
245
246#
247# Run the test.
248#
249eval_run()

--- 294 unchanged lines hidden ---