CVS commit: src/external/bsd/atf/dist/atf-c

2024-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jul 10 19:37:41 UTC 2024 Modified Files: src/external/bsd/atf/dist/atf-c: macros.h Log Message: atf-c: detect accidental '=' in assertion condition Seen several times in tests/libc/c063. To generate a diff of this commit: c

CVS commit: src/external/bsd/atf/dist/atf-c

2024-07-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jul 10 19:37:41 UTC 2024 Modified Files: src/external/bsd/atf/dist/atf-c: macros.h Log Message: atf-c: detect accidental '=' in assertion condition Seen several times in tests/libc/c063. To generate a diff of this commit: c

CVS commit: src/external/bsd/atf/dist/doc

2023-08-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Aug 27 19:27:23 UTC 2023 Modified Files: src/external/bsd/atf/dist/doc: atf-test-case.4 Log Message: atf-test-case.4: better explain custom metadata properties Apply upstream change https://github.com/jmmv/atf/commit/e802

CVS commit: src/external/bsd/atf/dist/doc

2023-08-27 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sun Aug 27 19:27:23 UTC 2023 Modified Files: src/external/bsd/atf/dist/doc: atf-test-case.4 Log Message: atf-test-case.4: better explain custom metadata properties Apply upstream change https://github.com/jmmv/atf/commit/e802

CVS commit: src/external/bsd/atf/dist/atf-sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed May 10 22:14:54 UTC 2023 Modified Files: src/external/bsd/atf/dist/atf-sh: atf-check.1 atf-sh.1 Log Message: atf-check.1 & atf-sh.1: remove references to -h option These had their -h option removed in the ATF 0.19 release

CVS commit: src/external/bsd/atf/dist/atf-sh

2023-05-10 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed May 10 22:14:54 UTC 2023 Modified Files: src/external/bsd/atf/dist/atf-sh: atf-check.1 atf-sh.1 Log Message: atf-check.1 & atf-sh.1: remove references to -h option These had their -h option removed in the ATF 0.19 release

CVS commit: src/external/bsd/atf/dist/tools

2023-04-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Mon Apr 3 16:26:50 UTC 2023 Modified Files: src/external/bsd/atf/dist/tools: atf-run_test.sh Log Message: atf-run_test.sh: fix spelling of "through" Reported by Jim Spath in PR misc/57318. To generate a diff of this commit

CVS commit: src/external/bsd/atf/dist/tools

2023-04-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Mon Apr 3 16:26:50 UTC 2023 Modified Files: src/external/bsd/atf/dist/tools: atf-run_test.sh Log Message: atf-run_test.sh: fix spelling of "through" Reported by Jim Spath in PR misc/57318. To generate a diff of this commit

CVS commit: src/external/bsd/atf/dist/atf-c

2023-03-13 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 14 00:55:31 UTC 2023 Modified Files: src/external/bsd/atf/dist/atf-c: atf-c-api.3 Log Message: atf-c-api.3: correct ATF_TP_ADD_TC() examples to use "tp" To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src

CVS commit: src/external/bsd/atf/dist/atf-c

2023-03-13 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 14 00:55:31 UTC 2023 Modified Files: src/external/bsd/atf/dist/atf-c: atf-c-api.3 Log Message: atf-c-api.3: correct ATF_TP_ADD_TC() examples to use "tp" To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src

Re: CVS commit: src/external/bsd/atf/dist/tools

2021-04-10 Thread Simon Burge
"Andreas Gustafsson" wrote: > Module Name: src > Committed By: gson > Date: Sat Apr 10 10:32:57 UTC 2021 > > Modified Files: > > src/external/bsd/atf/dist/tools: atf-run.1 atf-run.cpp > > Log Message: > > Add support for running individual test cases under isolation. Thank you! Th

CVS commit: src/external/bsd/atf/dist

2019-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 9 01:18:55 UTC 2019 Modified Files: src/external/bsd/atf/dist/atf-c++: build.cpp src/external/bsd/atf/dist/atf-sh: atf-check.cpp src/external/bsd/atf/dist/tools: process.cpp Log Message: the cast police

CVS commit: src/external/bsd/atf/dist

2019-10-08 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Oct 9 01:18:55 UTC 2019 Modified Files: src/external/bsd/atf/dist/atf-c++: build.cpp src/external/bsd/atf/dist/atf-sh: atf-check.cpp src/external/bsd/atf/dist/tools: process.cpp Log Message: the cast police

CVS commit: src/external/bsd/atf/dist/atf-sh

2019-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Oct 4 09:19:19 UTC 2019 Modified Files: src/external/bsd/atf/dist/atf-sh: atf-check.cpp Log Message: give a catch() a variable. gcc 8 is picky: atf-check.cpp:221:23: error: catching polymorphic type 'class std::runtime_error'

CVS commit: src/external/bsd/atf/dist/atf-sh

2019-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Oct 4 09:19:19 UTC 2019 Modified Files: src/external/bsd/atf/dist/atf-sh: atf-check.cpp Log Message: give a catch() a variable. gcc 8 is picky: atf-check.cpp:221:23: error: catching polymorphic type 'class std::runtime_error'

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2014-01-11 Thread Christos Zoulas
On Jan 11, 9:05am, ju...@meroh.net (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-sh | The reason it works like it does is because atf-run takes care of most | cleanup by itself and runs every test case on its own subprocess. | | The cleanup routine supports

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2014-01-11 Thread Julio Merino
On Fri, Jan 10, 2014 at 7:31 PM, Christos Zoulas wrote: > I would have preferred that the cleanup functionality was implemented > differently, running in the context of the shell that ran the test. > This could have been done by issuing a 'trap test_cleanup 0' before > invoking the test, instead o

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2014-01-10 Thread Martin Husemann
On Fri, Jan 10, 2014 at 06:31:57PM +, Christos Zoulas wrote: > If I need to pass state between the body of the test function and > the cleanup function, where do I put that state? Create a temporary file in . - this will be a private directory for this test case when run from atf-run. Martin

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2014-01-10 Thread Christos Zoulas
In article , Julio Merino wrote: >On Fri, Jan 10, 2014 at 1:39 AM, Christos Zoulas wrote: >> Module Name:src >> Committed By: christos >> Date: Fri Jan 10 01:39:32 UTC 2014 >> >> Modified Files: >> src/external/bsd/atf/dist/atf-sh: libatf-sh.subr >> >> Log Message: >> Und

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2014-01-10 Thread Julio Merino
On Fri, Jan 10, 2014 at 1:39 AM, Christos Zoulas wrote: > Module Name:src > Committed By: christos > Date: Fri Jan 10 01:39:32 UTC 2014 > > Modified Files: > src/external/bsd/atf/dist/atf-sh: libatf-sh.subr > > Log Message: > Undo previous; unfortunately the cleanup routine

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-23 Thread Christos Zoulas
On Dec 23, 10:47am, j...@netbsd.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run | On 12/19/11 10:25 PM, Christos Zoulas wrote: | > Module Name:src | > Committed By: christos | > Date: Mon Dec 19 22:25:46

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-23 Thread Julio Merino
On 12/19/11 10:25 PM, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Mon Dec 19 22:25:46 UTC 2011 > > Modified Files: > src/external/bsd/atf/dist/atf-run: timer.cpp > > Log Message: > - make all the ifdefs match > - make it compile, and test This was st

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-21 Thread Julio Merino
On Mon, Dec 19, 2011 at 8:32 PM, Christos Zoulas wrote: > On Dec 19, 6:06pm, j...@netbsd.org (Julio Merino) wrote: > -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run > > | I could only check with Snow Leopard and there is no timer_t there. I > | don't have a

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-21 Thread Julio Merino
On Mon, Dec 19, 2011 at 5:58 PM, Christos Zoulas wrote: > On Dec 19, 5:00pm, j...@netbsd.org (Julio Merino) wrote: > -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run > > | Interesting; didn't know about these. > | > | But what's the point of this change?

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-21 Thread Julio Merino
On Sun, Dec 18, 2011 at 10:34 PM, Christos Zoulas wrote: > Module Name:src > Committed By: christos > Date: Sun Dec 18 22:34:06 UTC 2011 > > Modified Files: >src/external/bsd/atf/dist/atf-run: timer.cpp timer.hpp > > Log Message: > Don't use antiquated BSD API's that requir

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-19 Thread Christos Zoulas
On Dec 19, 8:37pm, j...@netbsd.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run | Could you check if this support exists in Lion first? If that's the case, | I personally don't think it is a big deal. But thanks if you do that! It does not, an

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-19 Thread Christos Zoulas
On Dec 19, 6:06pm, j...@netbsd.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run | I could only check with Snow Leopard and there is no timer_t there. I | don't have access to Lion at the moment; when I do, I'll check again. If | there is no sup

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-12-19 Thread Christos Zoulas
On Dec 19, 5:00pm, j...@netbsd.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run | Interesting; didn't know about these. | | But what's the point of this change? It breaks OS X at least and does not | fix anything AFAICT. I am just trying to

Re: CVS commit: src/external/bsd/atf/dist

2011-11-16 Thread Julio Merino
On 11/16/11 3:11 PM, Christos Zoulas wrote: In article<4ec40d98.4070...@netbsd.org>, Julio Merino wrote: I know there is no portable way, but at least we can default to "do nothing" if this is not supported. It's better than "not building" :-P Oh, I can arrange that. #ifdef __NetBSD__ :-) B

Re: CVS commit: src/external/bsd/atf/dist

2011-11-16 Thread Christos Zoulas
In article <4ec40d98.4070...@netbsd.org>, Julio Merino wrote: > >I know there is no portable way, but at least we can default to "do >nothing" if this is not supported. It's better than "not building" :-P Oh, I can arrange that. #ifdef __NetBSD__ :-) But in my view this is worse... >Yes, they

Re: CVS commit: src/external/bsd/atf/dist

2011-11-16 Thread Julio Merino
On 11/16/11 1:51 PM, Christos Zoulas wrote: In article<4ec3f8f7.8020...@netbsd.org>, Julio Merino wrote: On 11/16/11 12:46 PM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Wed Nov 16 17:46:16 UTC 2011 Modified Files: src/external/bsd/atf/dist/atf

Re: CVS commit: src/external/bsd/atf/dist

2011-11-16 Thread Christos Zoulas
In article <4ec3f8f7.8020...@netbsd.org>, Julio Merino wrote: >On 11/16/11 12:46 PM, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Wed Nov 16 17:46:16 UTC 2011 >> >> Modified Files: >> src/external/bsd/atf/dist/atf-c++/detail: text.cpp te

Re: CVS commit: src/external/bsd/atf/dist

2011-11-16 Thread Julio Merino
On 11/16/11 12:46 PM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Wed Nov 16 17:46:16 UTC 2011 Modified Files: src/external/bsd/atf/dist/atf-c++/detail: text.cpp text.hpp src/external/bsd/atf/dist/atf-run: requirements.cpp test-program.cpp

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-09 Thread Julio Merino
On 11/9/11 9:42 AM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Wed Nov 9 14:42:43 UTC 2011 Modified Files: src/external/bsd/atf/dist/atf-c: tc.c Log Message: need || instead of&& To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 sr

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-08 Thread Julio Merino
On 11/8/11 7:32 PM, Christos Zoulas wrote: > Yes, I did. I actually wrote the test backwards 2ice because INV has inverted > logic than regular assert for some reason. It doesn't. INV(x) is the same as assert(x) -- or it is supposed to be -- but if it wasn't, things would have broken much earlier

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-08 Thread Christos Zoulas
On Nov 8, 6:48pm, j...@netbsd.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-c | On 11/8/11 3:25 PM, Christos Zoulas wrote: | > In article <2007202432.ga7...@britannica.bec.de>, | > Joerg Sonnenberger wrote: | >> On Mon, Nov 07, 2011 a

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-08 Thread Julio Merino
On 11/8/11 3:25 PM, Christos Zoulas wrote: > In article <2007202432.ga7...@britannica.bec.de>, > Joerg Sonnenberger wrote: >> On Mon, Nov 07, 2011 at 04:06:30PM +, Christos Zoulas wrote: >>> Well, I tried to print the failing pattern in t_expand, and it silently >>> got truncated. dprintf

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-08 Thread Christos Zoulas
In article <2007202432.ga7...@britannica.bec.de>, Joerg Sonnenberger wrote: >On Mon, Nov 07, 2011 at 04:06:30PM +, Christos Zoulas wrote: >> Well, I tried to print the failing pattern in t_expand, and it silently >> got truncated. dprintf(3) has been part of TOG since 2006: >> (http://pub

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-07 Thread Joerg Sonnenberger
On Mon, Nov 07, 2011 at 04:06:30PM +, Christos Zoulas wrote: > Well, I tried to print the failing pattern in t_expand, and it silently > got truncated. dprintf(3) has been part of TOG since 2006: > (http://pubs.opengroup.org/onlinepubs/9699919799/functions/dprintf.html) > So it would be prefera

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-07 Thread Christos Zoulas
In article <4eb7f47c.4040...@netbsd.org>, Julio Merino wrote: >On 11/6/11 1:18 PM, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sun Nov 6 18:18:16 UTC 2011 >> >> Modified Files: >> src/external/bsd/atf/dist/atf-c: tc.c >> >> Log Message

Re: CVS commit: src/external/bsd/atf/dist/atf-c

2011-11-07 Thread Julio Merino
On 11/6/11 1:18 PM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Sun Nov 6 18:18:16 UTC 2011 Modified Files: src/external/bsd/atf/dist/atf-c: tc.c Log Message: don't truncate error messages to 1K. The use of dprintf cannot be merged back upstrea

Re: CVS commit: src/external/bsd/atf/dist/atf-c/detail

2011-06-16 Thread Julio Merino
On 6/16/11 3:57 PM, Joerg Sonnenberger wrote: > Module Name: src > Committed By: joerg > Date: Thu Jun 16 14:57:22 UTC 2011 > > Modified Files: > src/external/bsd/atf/dist/atf-c/detail: test_helpers.c > > Log Message: > Properly use a format string. I presume you found this with c

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-03-30 Thread Paul Goyette
Module Name:src Committed By: jmmv Date: Wed Mar 30 11:10:56 UTC 2011 Modified Files: src/external/bsd/atf/dist/atf-run: fs.cpp Log Message: Pull up upstream revision 648ed6360b2b7cda81a6079b00dc436d09c745b8: Retry calls that raise file system errors during cleanup Does

Re: CVS commit: src/external/bsd/atf/dist/atf-run

2011-03-17 Thread Christos Zoulas
In article <20110317194537.13adb17...@cvs.netbsd.org>, Julio Merino wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: jmmv >Date: Thu Mar 17 19:45:36 UTC 2011 > >Modified Files: > src/external/bsd/atf/dist/atf-run: test-program.cpp > >Log Message: >Pull up revision 3dd2481ec

Re: CVS commit: src/external/bsd/atf/dist/atf-sh

2010-11-26 Thread Nicolas Joly
On Fri, Nov 26, 2010 at 12:04:36PM +, Antti Kantee wrote: > Module Name: src > Committed By: pooka > Date: Fri Nov 26 12:04:36 UTC 2010 > > Modified Files: > src/external/bsd/atf/dist/atf-sh: atf-check.cpp > > Log Message: > Remove spammy (debug?) prints. took ages to figure o

Re: CVS commit: src/external/bsd/atf/dist

2010-08-26 Thread Paul Goyette
On Thu, 26 Aug 2010, Julio Merino wrote: 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 po...@. Just wondering - does this address PR bin/43802 that I just filed? Yup, but I had

Re: CVS commit: src/external/bsd/atf/dist

2010-08-26 Thread Julio Merino
On Aug 26, 2010, at 4:43 PM, Paul Goyette wrote: On Thu, 26 Aug 2010, Julio Merino wrote: Module Name:src Committed By: jmmv Date: Thu Aug 26 15:28:31 UTC 2010 Modified Files: src/external/bsd/atf/dist/atf-c++: io.cpp io.hpp io_test.cpp src/external/bsd/atf/dis

Re: CVS commit: src/external/bsd/atf/dist

2010-08-26 Thread Antti Kantee
On Thu Aug 26 2010 at 08:43:53 -0700, Paul Goyette wrote: > >Log Message: > >Partially pull up the following revisions that address ticket #53: > > > > 996f9c26e07a86607f373c8f0243d57329c11543 > > ef98529abaf16e40a2e684496bf3da8f9ff0d09c > > > >These prevent atf-run from stalling/crashing when

Re: CVS commit: src/external/bsd/atf/dist

2010-08-26 Thread Paul Goyette
On Thu, 26 Aug 2010, Julio Merino wrote: Module Name:src Committed By: jmmv Date: Thu Aug 26 15:28:31 UTC 2010 Modified Files: src/external/bsd/atf/dist/atf-c++: io.cpp io.hpp io_test.cpp src/external/bsd/atf/dist/atf-run: test-program.cpp Log Message: Partially

CVS commit: src/external/bsd/atf/dist/tools

2010-02-22 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Feb 22 19:21:37 UTC 2010 Modified Files: src/external/bsd/atf/dist/tools: atf-check.1 Log Message: \\ -> \e To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/atf/dist/tools/atf-check.1 Please note

CVS commit: src/external/bsd/atf/dist/tools

2010-02-22 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Feb 22 19:21:37 UTC 2010 Modified Files: src/external/bsd/atf/dist/tools: atf-check.1 Log Message: \\ -> \e To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/atf/dist/tools/atf-check.1 Please note