Commit Graph

1828 Commits

Author SHA1 Message Date
Jilles Tjoelker
5706357661 sh: Do not stat() $MAIL/$MAILPATH in non-interactive shells.
These may be NFS mounted, and we should not touch them unless we are going
to do something useful with the information.
2010-02-06 22:57:24 +00:00
Antoine Brodin
a48279bb03 Update files to remove when MK_KERBEROS=no. 2010-02-06 20:21:03 +00:00
Antoine Brodin
e86622b3d7 Add files to remove when MK_JAIL=no. 2010-02-06 20:11:23 +00:00
Antoine Brodin
2677a43216 Update files to remove when MK_IPX=no. 2010-02-06 20:09:55 +00:00
Antoine Brodin
02eb407f8c Add files to remove when MK_IPFW=no. 2010-02-06 20:08:46 +00:00
Antoine Brodin
91ff065b11 Move rescue/ping6 from files to remove when MK_INET6=no to file to remove
when MK_INET6_SUPPORT=no.  (MK_INET6=no implies MK_INET6_SUPPORT=no)
2010-02-06 20:06:06 +00:00
Antoine Brodin
a2ccbc2954 Add file to remove when MK_IDEA=no. 2010-02-06 20:02:56 +00:00
Antoine Brodin
b6d220d05b Add files to remove when MK_GSSAPI=no. 2010-02-06 20:00:35 +00:00
Antoine Brodin
96e9532b9d Add files to remove when MK_GPIB=no. 2010-01-30 19:36:55 +00:00
Antoine Brodin
2ea25692d0 Add files to remove when MK_GDB=no. 2010-01-30 19:33:45 +00:00
Antoine Brodin
051426045b Add files to remove when MK_GAMES=no. 2010-01-30 19:32:01 +00:00
Antoine Brodin
b983b14617 Add files to remove when MK_FREEBSD_UPDATE=no. 2010-01-30 19:29:02 +00:00
Antoine Brodin
aa6bef9eff Add files to remove when MK_FLOPPY=no. 2010-01-30 19:26:28 +00:00
Ruslan Ermilov
3b77dd00f1 Actualize. 2010-01-25 14:17:36 +00:00
Antoine Brodin
629b054a63 Add files to remove when MK_DICT=no. 2010-01-24 14:13:56 +00:00
Antoine Brodin
73ff661084 Add files to remove when MK_CVS=no. 2010-01-24 14:09:45 +00:00
Antoine Brodin
7692d80e7b Add files to remove when MK_CTM=no. 2010-01-24 14:06:19 +00:00
Antoine Brodin
682e107237 Add files to remove when MK_CPP=no. 2010-01-24 14:04:38 +00:00
Antoine Brodin
e493781a2c Update files to remove when MK_ZFS=no. 2010-01-16 20:42:50 +00:00
Antoine Brodin
af5b47240f Update files to remove when MK_CDDL=no. 2010-01-16 20:40:12 +00:00
Antoine Brodin
2ab199278f Add files to remove when MK_CALENDAR=no. 2010-01-16 20:36:27 +00:00
Gavin Atkinson
7964930201 Spell "Hz" correctly wherever it is user-visible.
PR:		bin/142566
Submitted by:	N.J. Mann   njm njm.me.uk
Approved by:	ed (mentor)
MFC after:	2 weeks
2010-01-12 17:59:58 +00:00
Antoine Brodin
bd0a3ed532 Update files to remove when MK_BLUETOOTH=no. 2010-01-09 19:52:42 +00:00
Antoine Brodin
22f09c9f1e Add files to remove when MK_AUTHPF=no. 2010-01-09 19:13:56 +00:00
Antoine Brodin
6fccaa0764 Add files to remove when MK_ATM=no. 2010-01-09 19:12:33 +00:00
Antoine Brodin
2cccc87b3d Add files to remove when MK_AT=no. 2010-01-09 19:09:16 +00:00
Antoine Brodin
5942f7f7b1 Add files to remove when MK_APM=no. 2010-01-09 19:07:04 +00:00
Antoine Brodin
6cbebbd3ea Add files to remove when MK_AMD=no. 2010-01-09 19:04:38 +00:00
Antoine Brodin
b00c1bf2e1 Add files to remove when MK_ACCT=no. 2010-01-09 19:02:33 +00:00
David Xu
323d80a0a7 Don't forget to use fourth argument if O_CREAT is set in argument oflag.
The fourth specifies initial value for the semaphore.
2010-01-07 04:15:49 +00:00
David Xu
3df967d55c Add test code for POSIX semaphore implementation. 2010-01-05 12:34:13 +00:00
David E. O'Brien
290dac20e6 Add ability to search up the directory hierarchy for the system directory.
Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable.

Reviewed by:	<sjg@NetBSD.org>
Obtained from:	NetBSD (+ embellishment by me, sent back to NetBSD)
2010-01-04 18:57:22 +00:00
David E. O'Brien
19d43a4c5f Fix formatting. 2010-01-04 11:11:37 +00:00
David E. O'Brien
107994f781 There are actually 129 tests here. 2010-01-04 11:00:12 +00:00
David E. O'Brien
adcda09cbc Catch up with UNIX98-style PTY's. 2010-01-04 10:59:14 +00:00
David E. O'Brien
41f83263a5 'prove -r' isn't as smart as grog thought. 2010-01-04 10:58:08 +00:00
David E. O'Brien
72cef5b74f You need to be root to run this test. 2010-01-04 09:59:18 +00:00
David E. O'Brien
cd8b25c92c Also cleanup after the test run. 2010-01-04 09:57:00 +00:00
David E. O'Brien
01d217bcc1 Don't process 'lastcomm' if "AUTOMATED" is defined.
The tests for it require manual setup.
2010-01-04 09:54:24 +00:00
David E. O'Brien
8dcfd5d1d6 It is expected these are chmod +x. 2010-01-04 09:50:30 +00:00
David E. O'Brien
faddcb5783 Regression test for r201456. 2010-01-04 09:49:23 +00:00
Jilles Tjoelker
dc82a6f600 sh: Send the "not found" message for builtin <cmd> to redirected fd 2. 2010-01-03 15:01:38 +00:00
Jilles Tjoelker
b485cf94fb sh: Add a regression test that tries out all arithmetic ops.
MFC after:	1 week
2010-01-03 12:50:27 +00:00
David E. O'Brien
043ccc7cf3 Use t1 & t2 as more symbolic than 'a' and 'b' for the two times. 2010-01-03 12:17:51 +00:00
David E. O'Brien
70ec99bfd2 Provide clean output with 'prove -r'. 2010-01-03 11:53:48 +00:00
David E. O'Brien
91212b8c98 Hide expected error output so the 'prove -r' results are easy to read. 2010-01-03 09:31:33 +00:00
David E. O'Brien
a56d32a6a0 Allow to be driven by 'prove -r'. 2010-01-03 09:30:50 +00:00
David E. O'Brien
a174aecc2e Make sure 'pack' is usable for 'prove -r'. 2010-01-03 08:44:18 +00:00
David E. O'Brien
25255d7808 Transform from kernel file to userland source. 2010-01-03 08:33:24 +00:00
Jilles Tjoelker
f7cc73afc8 sh: Fix some bugs with backquoted builtins:
- correctly handle error output in $(builtin 2>&1), clarify out1/out2 vs
  output/errout in the code
- treat all builtins as regular builtins so errors do not abort the shell
  and variable assignments do not persist
- respect the caller's INTOFF

Some bugs still exist:
- expansion errors may still abort the shell
- some side effects of expansions and builtins persist
2010-01-01 18:17:46 +00:00