1FUNIT-EXEC(8) Frysk FUNIT-EXEC(8)
2
3
4
6 funit-exec - on CNTRL-C exec the specified program
7
9 funit-exec [OPTION] {program} [arg...]
10
12 Wait for a SIGINT (cntrl-c) signal and then exec program passing it
13 args.
14
15 Sending a SIGUSR1 signal will cause a random non-main thread to make
16 the exec call.
17
18 -m pid
19 The pid of the master process that should be sent a signal once
20 this program is running (default 0).
21
22 -s signal
23 The signal to send to the master process once this program is
24 running (default 0).
25
26 -t timeout
27 Exit after timeout seconds.
28
29 -c count
30 Create count threads.
31
32 -e executable
33 The executable to exec (default is the program).
34
35 -b
36 Brand the exec with the thread that initiated it by setting argv[0]
37 to the string TID:PID.
38
39 program arg...
40 The program and arguments to pass to the exec call.
41
42 This program is used by funit, as part of frysk´s JUnit testsuite.
43
45 Create a 32-bit process that, on cntrl-c (SIGINT), will exec the 64-bit
46 funit-exit program.
47
48 /usr/lib/frysk/funit-exec \
49 /usr/lib64/frysk/funit-exec /bin/echo done
50
51 Create a process, with one additional thread, signals the shell with
52 SIGUSR1 once it is running, and then execs /bin/echo but with argument
53 zero set to "arg0".
54
55 /usr/lib/frysk/funit-exec -c 1 -s 1 -p $$ \
56 -e /bin/echo arg0 arg1
57
59 frysk(7) funit(8)
60
62 Report bugs to http:/sources.redhat.com/frysk
63
64
65
66Frysk 0.4-28.fc14 April 2008 FUNIT-EXEC(8)