summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2013-11-25 13:30:06 +0000
committerjmmv <jmmv@FreeBSD.org>2013-11-25 13:30:06 +0000
commit938399344b88932d6761c334b7aca887cac48d33 (patch)
tree6f36c4d6ef4dd80ede8b68a822da002d7e38d645 /share/examples
parent7a1cd362c96ffb387c82d7355b847e68ed67ce32 (diff)
downloadFreeBSD-src-938399344b88932d6761c334b7aca887cac48d33.zip
FreeBSD-src-938399344b88932d6761c334b7aca887cac48d33.tar.gz
Generate plain sh test programs from a source file.
Instead of assuming that plain sh test programs exist in the source tree in their final form and are marked as executable, generate them from a list of sources. By default, just assume that the source file for a program P is P.sh but allow the caller to customize the inputs. Similarly, also allow the caller to apply sed(1) replacements on the output. These will both be useful in hooking existing test code from tools/regression/ into the test suite. Approved by: rpaulo (mentor)
Diffstat (limited to 'share/examples')
-rw-r--r--[-rwxr-xr-x]share/examples/tests/tests/plain/cp_test.sh (renamed from share/examples/tests/tests/plain/cp_test)0
1 files changed, 0 insertions, 0 deletions
diff --git a/share/examples/tests/tests/plain/cp_test b/share/examples/tests/tests/plain/cp_test.sh
index ea64705..ea64705 100755..100644
--- a/share/examples/tests/tests/plain/cp_test
+++ b/share/examples/tests/tests/plain/cp_test.sh
OpenPOWER on IntegriCloud