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
Brooks Davis
a6fffd6cb0
The devices that supported EVFILT_NETDEV kqueue filters were removed in
...
r195175. Remove all definitions, documentation, and usage.
fifo_misc.c:
Remove all kqueue tests as fifo_io.c performs all those that
would have remained.
Reviewed by: rwatson
MFC after: 3 weeks
X-MFC note: don't change vlan_link_state() function signature
2009-12-31 20:29:58 +00:00
Jilles Tjoelker
0fb60646df
sh: Use PATH= assignment in type.
...
Example:
PATH=/var/empty; PATH=/bin type ls
2009-12-31 17:44:24 +00:00
Jilles Tjoelker
06a8a57f82
sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH).
2009-12-31 16:13:33 +00:00
Jilles Tjoelker
63ccda7719
sh: arith: Return only 0 and 1 from && and ||.
...
This agrees with C, POSIX and other shells.
2009-12-30 15:59:40 +00:00
Antoine Brodin
13e403fdea
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
...
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month
2009-12-28 22:56:30 +00:00
Edward Tomasz Napierala
20c87efe63
Make tests for ACL preservation by mv(1) and cp(1) more complete
...
and easier to follow.
2009-12-27 13:05:56 +00:00
Jilles Tjoelker
29d401c22d
sh: Do not run callers' exception handlers in subshells.
...
Reset the exception handler in the child to main's.
This avoids inappropriate double cleanups or shell duplication when the
exception is caught, such as 'fc' and future 'command eval' and 'command .'.
2009-12-25 20:21:35 +00:00
John Baldwin
9516bdf18c
Add a new tool which attempts to check for kernel configuration options that
...
are missing from NOTES files.
2009-12-24 14:32:11 +00:00
Edward Tomasz Napierala
28df1e77ee
Add regression test for NFSv4 ACLs on UFS.
2009-12-21 20:47:41 +00:00
Robert Watson
407cf730b6
Merge libkqueue test suite through r119
...
Submitted by: Mark Heily <mark@heily.com>
2009-12-15 10:43:20 +00:00
Robert Watson
60a396a4f7
Add Mark Heily's libkqueue test suite as a general kqueue test suite to
...
tools/regression. It tests a number of aspects of kqueue behavior,
although not all currently pass (possibly bugs in the test suite?).
Submitted by: Mark Heily <mark at heily.com>
Obtained from: svn://mark.heily.com/libkqueue/trunk/test (r114)
2009-12-13 20:27:46 +00:00
Jaakko Heinonen
d8eba599f5
Don't read the newline character to line buffer because lines are passed
...
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.
Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.
Add regression tests for the cases. [1]
PR: bin/140976
Submitted by: D'Arcy Cain (original version) [1]
Approved by: trasz (mentor)
2009-12-12 18:18:46 +00:00
Jilles Tjoelker
df8d66693f
sh: Test ;<newline> as well as ; in the 'for' parser test.
2009-12-06 23:31:23 +00:00
Poul-Henning Kamp
5a42d563e4
Add disk-magic for amd64: same as i386.
...
Pass PORTS_OPTS wherever we invoke ports makefiles
Add a logfile where we can see the progress of distfile prefetching
2009-12-04 10:57:01 +00:00