VirtualBox

source: kBuild/vendor/sed/current/testsuite/runtest

Last change on this file was 599, checked in by bird, 18 years ago

GNU sed 4.1.5.

File size: 366 bytes
Line 
1#! /bin/sh
2
3: ${MAKE=make}
4: ${srcdir=.}
5: ${SED="../sed/sed"}
6
7makefile="$srcdir/Makefile.tests"
8test=`echo "$@"| sed 's,.*/,,'`
9
10# As a convenience, suppress the output of make if the test passes
11if $MAKE SED="$SED" srcdir="$srcdir" -f "$makefile" $test > tmp.test 2>&1; then
12 rm -f tmp.test
13else
14 exitcode=$?
15 cat tmp.test
16 rm -f tmp.test
17 exit $exitcode
18fi
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette