aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/timeout
Commit message (Collapse)AuthorAgeFilesLines
* timeout(1): Add EXAMPLES sectionFernando ApesteguĂ­a2020-07-071-1/+57
| | | | | | | | | | Small EXAMPLES section showing the use of -s, -k and the different exit values Approved by: manpages (gbe) Differential Revision: https://reviews.freebsd.org/D25575 Notes: svn path=/head/; revision=362994
* timeout.1: Try to improve clarityConrad Meyer2018-03-291-25/+35
| | | | | | | | | | | Minor rewordings, markup fixes or enhancements, and some typo fixes. Add a few sentences clarifying the special zero duration. PR: 227012 Submitted by: Mateusz Piotrowski (0mp@) (earlier version) Notes: svn path=/head/; revision=331720
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* Rename some tests to end in _test.Bryan Drewery2017-03-092-1/+1
| | | | | | | | | Requested by: ngie MFC after: 2 weeks X-MFC-With: r314886 Notes: svn path=/head/; revision=314944
* Remove unneeded -x from tests.Bryan Drewery2017-03-091-17/+17
| | | | | | | | | Reported by: ngie MFC after: 2 weeks X-MFC-With: r314886 Notes: svn path=/head/; revision=314943
* Make it more clear that -k sends SIGKILL, not the -s signal.Bryan Drewery2017-02-211-2/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=314001
* Use full name for the monthBaptiste Daroussin2017-02-171-1/+1
| | | | | | | Reported by: brueffer Notes: svn path=/head/; revision=313870
* Also add vsevolod@ in the authorsBaptiste Daroussin2017-02-171-0/+2
| | | | Notes: svn path=/head/; revision=313869
* Add history and Authors section in the manpageBaptiste Daroussin2017-02-171-1/+8
| | | | | | | | | Submitted by: dteske MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D9419 Notes: svn path=/head/; revision=313867
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedEnji Cooper2016-05-041-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=299094
* usr.bin: minor spelling fixes on comments.Pedro F. Giffuni2016-05-012-2/+2
| | | | | | | No functional change. Notes: svn path=/head/; revision=298879
* MFHGlen Barber2016-03-101-0/+11
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296625
| * DIRDEPS_BUILD: Connect MK_TESTS.Bryan Drewery2016-03-091-0/+11
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296587
* | First pass to fix the 'tests' packages.Glen Barber2016-02-021-0/+3
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295171
* timeout(1): fix the acceptable range values for parse_signal()Baptiste Daroussin2015-10-241-1/+1
| | | | | | | | | | | | Before both 0 and sys_nsig would be successfully returned by parse_signal() although being invalid signal numbers. PR: Alexandre Perrin <alex@kaworu.ch> MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D3990 Notes: svn path=/head/; revision=289878
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-19/+44
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-195-8/+255
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | Merge head from 7/28Simon J. Gerraty2014-08-191-0/+19
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
* | | timeout: handle zombie grandchildrenEd Maste2015-02-151-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeout previously collected only one child status with wait(2). If this was one of the grandchildren timeout would return to sigsuspend and wait until the timeout expired. Instead, loop for all children. PR: kern/197608 Reviewed by: bapt, kib MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=278810
* | | Use the new process reaper functionalityBaptiste Daroussin2015-01-061-13/+32
| |/ |/| | | | | | | | | | | | | | | When not using the --foreground option timeout(1) is supported to signal all command children hierarchy, timeout(1) now acquire the reaper to ensure this really happens and no children process can escaper from timeout(1) control Notes: svn path=/head/; revision=276771
* | Add regression tests for the timeout(1) utilityBaptiste Daroussin2014-10-283-0/+228
| | | | | | | | | | | | | | | | They are modeled over the regression tests that are provided for the GNU coreutils timeout(1) utility Notes: svn path=/head/; revision=273771
* | Improve compatibility with GNU timeoutBaptiste Daroussin2014-10-282-8/+27
|/ | | | | | | | | | | | | According to the coreutils regression testsuite for timeout(1) It is expect to exit with a status being: 125 in case an invalid duration or signal is passed in arguments 126 in case an invalid command is passed in arguments 127 in case the command passed in arguments does not exists. While here document this behaviour in the man page Notes: svn path=/head/; revision=273769
* Improve timeout(1) man pageBaptiste Daroussin2014-07-181-9/+53
| | | | | | | | | | | | | Document the exit values and the duration format Improve wording Pet mandoc -Tlint Sort SEE ALSO Phabric: https://phabric.freebsd.org/D432 Reviewed by: wblock Notes: svn path=/head/; revision=268861
* Sort properly the headersBaptiste Daroussin2014-07-161-4/+5
| | | | | | | | | While here space/tabs cleanup Reviewed by: kib Notes: svn path=/head/; revision=268763
* White space fixesBaptiste Daroussin2014-07-161-2/+2
| | | | Notes: svn path=/head/; revision=268751
* Sort headersBaptiste Daroussin2014-07-161-12/+8
| | | | | | | | | Constify long options Remove useless call to sigemptyset properly check errno when waiting for a process status when a SIGCHLD is received Notes: svn path=/head/; revision=268750
* Fix typoBaptiste Daroussin2014-07-161-1/+1
| | | | Notes: svn path=/head/; revision=268749
* Style(9) fixBaptiste Daroussin2014-07-161-0/+1
| | | | Notes: svn path=/head/; revision=268748
* Fix build with gccBaptiste Daroussin2014-07-161-5/+4
| | | | Notes: svn path=/head/; revision=268747
* Fix indentationBaptiste Daroussin2014-07-161-1/+1
| | | | Notes: svn path=/head/; revision=268746
* New BSDL timeout(1) utility compatible with GNU timeoutBaptiste Daroussin2014-07-163-0/+411
it fully passes the GNU timeout regression tests, it is written in a mostly portable way (only signal parsing is relying on non portable structures) Phabric: D377 Notes: svn path=/head/; revision=268745