Commit Graph

605 Commits

Author SHA1 Message Date
kardel
f7077f6660 only refer to libdns_sd when mDNS is compiled in 2010-08-29 11:15:32 +00:00
kardel
ef0ff97775 make mDNS registration depend on compile time build option MKMDNS 2010-08-29 10:13:07 +00:00
kardel
2092893b1f using a char * as timeout value is a unique concept - atol() the string 2010-08-28 20:54:24 +00:00
kardel
9893a031e7 don't return an int casted pointer as 'boolean' value - compare result of strchr with NULL 2010-08-28 20:52:55 +00:00
kardel
457fd0a5a5 disable .y.c rule - ntp_parser.y needs bison which is not part of the tool chain 2010-08-28 20:51:08 +00:00
kardel
e1e8fcf831 hook in ntp 4.2.6 reachover build (new location in external/bsd/ntp) 2010-08-28 15:47:08 +00:00
kardel
179b12252e add installation of manual pages, html files and up to now missing commands (sntp, ntptrace) 2010-08-28 15:42:45 +00:00
kardel
2dee21c22b .sp only takes a single arg 2010-08-28 15:40:24 +00:00
kardel
e2516bcdc0 fix DEBUG compilation 2010-08-28 15:39:25 +00:00
kardel
43632c662f remove uncondition #define DEBUG 2010-08-28 15:38:55 +00:00
jmmv
3420de6236 Partially pull up the following revisions that address ticket #53:
996f9c26e07a86607f373c8f0243d57329c11543
    ef98529abaf16e40a2e684496bf3da8f9ff0d09c

These prevent atf-run from stalling/crashing when a subprocess of a test
case stays around after the test case itself exits.

Reported, and verified working, by pooka@.
2010-08-26 15:28:31 +00:00
jmmv
a562507d8f Remove obsolete file. 2010-08-26 14:35:54 +00:00
christos
c11bdae3be Merge changes. 2010-08-06 10:58:03 +00:00
christos
68f14ab461 regen 2010-08-05 20:44:53 +00:00
christos
823dc9a3f5 Import bind 9.7.2b1 2010-08-05 19:51:05 +00:00
dogcow
e55a8cb745 Fix build on big-endian hosts. 2010-08-05 14:03:17 +00:00
christos
2dfc3344d7 put back libedit support. 2010-08-04 20:29:54 +00:00
tron
635815f258 Don't enable readline support for "wpa_cli" as "libedit" doesn't provide
the necessary rl_on_new_line function.
2010-08-04 19:23:15 +00:00
wiz
d6b5d5b6df Comment out recommendation what to use with wlan(4) for ap_scan.
XXX: recommend something for NetBSD!
2010-08-04 19:11:14 +00:00
wiz
db8f12390c New sentence, new line. 2010-08-04 19:10:50 +00:00
christos
ccfa3bc9c2 Hook wpa stuff 0.7.2 2010-08-04 17:12:33 +00:00
christos
8dbcf02c6b Import wpa_supplicant and hostapd 2010-08-04 10:17:50 +00:00
sborrill
e6b018f13d Add missing -h flag to example 2010-08-03 10:24:39 +00:00
joerg
1f957839c3 Merge mdocml 1.10.5 2010-07-27 22:40:24 +00:00
joerg
7da9b93487 Import mdocml 1.10.5:
- Initial support for PDF output
- Improved support for various roff commands
2010-07-27 22:34:54 +00:00
joerg
b299cc5e23 Explicitly depend on dist file 2010-07-26 17:25:31 +00:00
joerg
b2c0dd522e Simplify maintainance and query dist's Makefile for VERSION 2010-07-25 19:16:18 +00:00
joerg
8edf0a9894 mdocml 1.10.4 2010-07-25 19:12:57 +00:00
joerg
3d39960c73 Merge mdocml 1.10.4 2010-07-25 19:12:40 +00:00
joerg
82361f106b Import mdocml 1.10.4:
- Smaller bugfixes
- Improved .ds support
- Support .Bk -words
- Improve multi-page postscript output
- Improve indentation in SYNOPSIS
- Improved support for badly nested blocks
2010-07-25 19:10:40 +00:00
christos
6533f925b7 Document the format of the system crontab file, since cron(8) says that we do. 2010-07-15 22:18:20 +00:00
christos
4d77e7cf65 PR/43623: Takahiro Kambe: Allow /etc/crontab processing if it is not writable,
don't insist that it is mode 0600.
2010-07-15 20:04:14 +00:00
christos
7035a6c5ea remove bad cast. 2010-07-15 20:03:28 +00:00
joerg
3c0c4333af Regen for libarchive 2.8.4 2010-07-14 22:14:17 +00:00
joerg
1332698d66 Merge libarchive 2.8.4 2010-07-14 22:13:58 +00:00
joerg
7a09c6c34f Import libarchive 2.8.4:
Symlink dereference fix for Linux broke the build there; corrected.
Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix.
Improved reliability of hash function detection.
2010-07-14 22:10:39 +00:00
jmmv
2474b0ebb5 Set ATFFILE=yes to install the package-provided Atffiles instead of generating
our custom ones.
2010-07-13 21:12:38 +00:00
mrg
6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
mrg
657f450349 add a miss #ifdef HAVE_TLS, that fixes MKCRYPTO=no build in here. 2010-07-11 00:47:36 +00:00
christos
dbee6f29d8 PR bin/43591: Jeremy Reed: make sure that the default path is always set. 2010-07-10 21:42:29 +00:00
jmmv
d59f14065c Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream:
Catch and report unhandled exceptions before they propagate to C land

The C++ interface to run test cases goes like this:

    1) C++ run function -> 2) C run function -> 3) C++ wrapper for
    test case -> 4) test case head/body/cleanup

The previous code caught and reported unhandled exceptions in 1).
However, such approach does not seem to work everywhere.  It fails,
for example, in NetBSD/i386 but works in NetBSD/amd64.  I am not sure
which platform implementation is correct nor if there even _is_ a
defined behavior.  No matter what, it feels wrong and clunky.

Move the last-resort exception catching to happen in 3) so that
exceptions don't propagate back to C.

Fixes the test-programs/result_test:result_exception test case in
NetBSD/i386 5.99.34.
2010-07-06 18:03:37 +00:00
jmmv
4f88119cd8 Remove file that should not be in the distribution so that atf-version gets
the correct output.  Fixed upstream as well.
2010-07-05 14:20:59 +00:00
christos
8d7359cabb PR/43562: Witold Jan Wnuk: top: CPU percentages overlap labels 2010-07-03 13:18:57 +00:00
jmmv
b8cf2cafb0 Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
jmmv
8482c0c31e Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
jmmv
edebbb8e6f Import atf 0.10:
Miscellaneous features

* Added expected failures support to test cases and atf-run.  These
  include, for example, expected clean exits, expected reception of fatal
  signals, expected timeouts and expected errors in condition checks.
  These statuses can be used to denote test cases that are known to fail
  due to a bug in the code they are testing.  atf-report reports these
  tests separately but they do not count towards the failed test cases
  amount.

* Added the ATF_CHECK_ERRNO and ATF_REQUIRE_ERRNO to the C library to
  allow easy checking of call failures that update errno.

* Added the has.cleanup meta-data property to test caes that specifies
  whether the test case has a cleanup routine or not; its value is
  automatically set.  This property is read by atf-run to know if it has to
  run the cleanup routine; skipping this run for every test case
  significantly speeds up the run time of test suites.

* Reversed the order of the ATF_CHECK_THROW macro in the C++ binding to
  take the expected exception as the first argument and the statement to
  execute as the second argument.

Changes in atf-check

* Changed atf-check to support negating the status and output checks by
  prefixing them with not- and added support to specify multiple checkers
  for stdout and stderr, not only one.

* Added the match output checker to atf-check to look for regular
  expressions in the stdout and stderr of commands.

* Modified the exit checks in atf-check to support checking for the
  reception of signals.

Code simplifications and cleanups

* Removed usage messages from test programs to simplify the
  implementation of every binding by a significant amount.  They just now
  refer the user to the appropriate manual page and do not attempt to wrap
  lines on terminal boundaries.  Test programs are not supposed to be run
  by users directly so this minor interface regression is not important.

* Removed the atf-format internal utility, which is unused after the
  change documented above.

* Removed the atf-cleanup internal utility.  It has been unused since the
  test case isolation was moved to atf-run in 0.8

* Splitted the Makefile.am into smaller files for easier maintenance and
  dropped the use of M4.  Only affects users building from the repository
  sources.

* Intermixed tests with the source files in the source tree to provide
  them more visibility and easier access.  The tests directory is gone from
  the source tree and tests are now suffixed by _test, not prefixed by t_.

* Simplifications to the atf-c library: removed the io, tcr and ui
  modules as they had become unnecessary after all simplifications
  introduced since the 0.8 release.

* Removed the application/X-atf-tcr format introduced in 0.8 release.
  Tests now print a much simplified format that is easy to parse and nicer
  to read by end users.  As a side effect, the default for test cases is
  now to print their results to stdout unless otherwise stated by providing
  the -r flag.

* Removed XML distribution documents and replaced them with plain-text
  documents.  They provided little value and introduced a lot of complexity
  to the build system.

* Simplified the output of atf-version by not attempting to print a
  revision number when building form a distfile.  Makes the build system
  easier to maintain.
2010-07-03 08:04:47 +00:00
is
adbe495929 Avoid steps and other artefacts in head for more than 9 CPUs. 2010-06-30 11:08:12 +00:00
jmmv
42faad5b09 Remove obsolete Makefile. 2010-06-29 16:58:14 +00:00
pooka
31d66e80e4 If get_tcr() is called with broken_reason set, apply xfail inversion.
This (at least) makes timeouting tests honor xfail.
2010-06-27 20:36:42 +00:00
jmmv
7022b73d05 Reference tests(7). 2010-06-26 11:27:50 +00:00