freebsd-skq/bin
ngie 90fda359a4 MFC r269902,r270101:
r269902:

Convert bin/sh/tests to ATF

The new code uses a "test discovery mechanism" to determine
what tests are available for execution

The test shell can be specified via:

  kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh

Sponsored by: EMC / Isilon Storage Division
Approved by: jmmv (mentor)
Reviewed by: jilles (maintainer)

r270101 (by jilles):

sh: Don't hardcode relative paths in the tests stderr files.

These paths have had to be adjusted to changes in the testsuite runner
several times, so modify the tests to remove the need for such adjustment.

A cp in functional_test.sh is now unneeded, but this matters little in
performance.
2015-12-01 18:27:38 +00:00
..
cat - Add the __dead2 attribute since it is a function that never returns 2013-04-23 13:03:11 +00:00
chflags MFC r282208: 2015-06-01 09:04:57 +00:00
chio Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
chmod MFC r282208: 2015-06-01 09:04:57 +00:00
cp MFC r282482: cp: Remove fts sorting. 2015-05-14 10:46:20 +00:00
csh MFC r275805: 2015-04-30 16:08:47 +00:00
date MFC r282608: 2015-05-21 18:59:11 +00:00
dd MFC r289487: 2015-11-09 06:50:42 +00:00
df MFC r287236: 2015-09-14 17:40:57 +00:00
domainname Point users towards nisdomainname and rc.conf. 2013-04-22 17:55:12 +00:00
echo echo(1): Clarify portability and mention literal "--" handling. 2010-11-12 22:43:40 +00:00
ed MFC r270256: 2014-08-28 18:11:05 +00:00
expr MFC r280357: 2015-04-06 14:45:40 +00:00
freebsd-version MFH (r277531): don't include newvers in freebsd-version 2015-07-02 11:46:40 +00:00
getfacl Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
hostname Mark usage() __dead2 2013-04-28 22:52:43 +00:00
kenv Constify parameters, no functional or binary change. 2013-05-15 18:38:28 +00:00
kill Remove cast that was only required for K&R C. 2013-04-28 22:05:01 +00:00
ln MFC r278848: symlink(7): Mention chflagsat() (can take AT_SYMLINK_NOFOLLOW). 2015-03-10 22:23:56 +00:00
ls MFC r288330,r288423,r288678,r288905,r288906,r288907,r289102: 2015-10-25 23:03:04 +00:00
mkdir Add missing static qualifiers 2013-04-27 21:59:43 +00:00
mv MFC r284916: mv: Improve message when moving two or more files to 2015-08-22 21:35:35 +00:00
pax MFC r283257: 2015-06-05 00:39:34 +00:00
pkill MFC r287012: 2015-08-29 02:41:59 +00:00
ps MFC r275745: 2014-12-27 00:55:14 +00:00
pwait Use a different way to silence clang analyzer as done in r245494 by 2013-01-16 18:15:25 +00:00
pwd
rcp Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
realpath Make `realpath'' behave like `realpath .''. 2011-06-21 19:34:57 +00:00
rm MFC r290480 2015-11-10 07:17:38 +00:00
rmail Bump WARNS where possible. 2010-02-15 14:07:40 +00:00
rmdir Add a few examples. 2013-03-15 20:12:54 +00:00
setfacl MFC r289195: 2015-11-15 23:54:34 +00:00
sh MFC r269902,r270101: 2015-12-01 18:27:38 +00:00
sleep MFC r272777,r272779,r272780,r272781,r272782,r272783,r272784,r272787,r272788: 2015-01-01 02:04:44 +00:00
stty stty: Mark usage() __dead2. 2012-07-15 21:12:22 +00:00
sync
test MFC r289488: 2015-10-26 00:05:02 +00:00
tests Sync sh(1) in stable/10 to head. 2014-03-09 17:04:31 +00:00
uuidgen Mention the upper hard limit for -n option. Patch slightly modified 2012-05-23 16:19:19 +00:00
Makefile MFC r263778: 2014-04-09 18:16:58 +00:00
Makefile.inc