1FUNIT-EXEC(8)                     funit-exec                     FUNIT-EXEC(8)
2
3
4

NAME

6       funit-exec - Slave program for frysk's JUnit tests
7

SYNOPSIS

9       funit-exec [-N] {tid} {signal} {seconds} {program ...}
10

DESCRIPTION

12       Creates the specified number of threads, sends the signal to thread
13       tid, and then sleeps for seconds. Sending the signal SIGUSR1 to a
14       thread will cause that thread to execute program using exec. Sending
15       the signal SIGUSR2 will cause a random non-main thread to exec program
16
17       This program is used by funit, as part of frysk's JUnit testsuite.
18
19       -N
20           Number of threads to create (default none).
21
22       tid
23           Thread ID to send signal to once all threads have been created.
24
25       signal
26           The signal to send to tid once all threads have been started.
27
28       seconds
29           Number of seconds to wait before the program exits.
30
31       program ...
32           Program to execute on receipt of SIGUSR1.
33

EXAMPLE

35       Create a 32-bit process that, on receipt of SIGUSR1, will exec the
36       64-bit funit-exit program.
37
38           /usr/lib/frysk/funit-exec $$ 0 100 /usr/lib64/frysk/funit-exec 1
39

SEE ALSO

41       frysk(1) funit(8) funit-child(8) funit-exec(8) funit-exit(8)
42       funit-threads(8)
43

BUGS

45       Report bugs to
46        http://sources.redhat.com/frysk/ [1].
47

REFERENCES

49        1. http://sources.redhat.com/frysk/
50           http:/sources.redhat.com/frysk
51
52
53
54                                 14 April 2006                   FUNIT-EXEC(8)
Impressum