Mike Frysinger 2b5bfeb2a8 tests: fix shell errors in detach tests
The current detach test code does:
	set -e
	...
	cleanup() {
		set +e
		kill ...
		wait ...
	}
	...
	cleanup
	exit 0

The problem is that while `set -e` is disabled for the body of the
cleanup function, it isn't necessarily disabled in the caller scope.
So if the return value of the cleanup function (`wait` in this case)
is non-zero, the script ends up failing overall.

Add an explicit return 0 to the cleanup function so that we don't kill
the overall test pipeline.

* tests/detach-running.test (cleanup): Add return 0.
* tests/detach-sleeping.test (cleanup): Likewise.
* tests/detach-stopped.test (cleanup): Likewise.
2014-08-11 17:22:38 +00:00
2014-06-04 16:29:18 +00:00
2013-05-02 22:06:12 +00:00
2012-05-01 21:51:38 +00:00
2014-06-04 16:29:18 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:31:08 +00:00
2009-07-08 21:01:21 +00:00
2013-05-17 23:18:55 +00:00
2012-05-01 21:51:38 +00:00
2014-08-08 23:38:26 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 22:10:21 +00:00
2012-02-25 15:29:21 +01:00
2014-05-30 21:40:03 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 21:40:03 +00:00
2014-04-10 15:29:13 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 21:31:08 +00:00
2014-05-30 22:10:21 +00:00
2014-06-18 15:41:19 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 22:10:21 +00:00
2013-05-17 23:18:55 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 21:40:03 +00:00
2014-08-10 09:23:22 +00:00
2014-05-30 21:40:03 +00:00
2014-06-18 15:41:19 +00:00
2014-08-08 23:38:26 +00:00
2013-06-03 12:34:56 +00:00
2014-05-30 21:40:03 +00:00
2014-05-30 22:10:21 +00:00
2014-05-30 22:10:21 +00:00
2014-02-26 00:01:00 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYING for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.
Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%