Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[windows] use 'cmake -E remove_directory' instead of 'rm -rf'
[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 < kill 'SEGV', $$;
10 $ mkfile segfault.pl
11
12 ! expect signal SIGSEGV
13 & perl segfault.pl
14
15 $ cd ..
16 $ cmake -E remove_directory temp_testdir-bg-set-signal