Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh: woops, fix java and smpi tests
[simgrid.git] / tools / tesh / bg-set-signal.tesh
1 #! ./tesh
2 # This suite builds and uses a program raising a segfault, ie a program dying
3 # of SIGSEV. tesh must detect this condition and report the issue.
4
5 $ cmake -E remove_directory temp_testdir-bg-set-signal
6 $ mkdir temp_testdir-bg-set-signal
7
8 $ cd temp_testdir-bg-set-signal
9
10 < kill 'SEGV', $$;
11 $ mkfile segfault.pl
12
13 ! expect signal SIGSEGV
14 $ perl segfault.pl
15
16 $ cd ..
17 $ cmake -E remove_directory temp_testdir-bg-set-signal