Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use xbt_swag_reset wherever possible.
[simgrid.git] / tools / tesh / bg-set-signal.tesh
index 681e844..3efe2c3 100644 (file)
@@ -2,20 +2,20 @@
 # This suite builds and uses a program raising a segfault, ie a program dying
 # of SIGSEV. tesh must detect this condition and report the issue.
 
-$ rm -rf temp_testdir
-$ mkdir temp_testdir
+$ rm -rf temp_testdir-bg-set-signal
+$ mkdir temp_testdir-bg-set-signal
 
-$ cd temp_testdir
+$ cd temp_testdir-bg-set-signal
 < #include <stdlib.h>
 < int main(void) {
 <   char *A=NULL;
 <   *A = 1;
 < }
-$ cat > segfault.c
+$ mkfile segfault.c
 
 $ gcc -o segfault segfault.c
 ! expect signal SIGSEGV
 & ./segfault
 $ sleep 1
 $ cd ..
-$ rm -rf temp_testdir
+$ rm -rf temp_testdir-bg-set-signal