Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Search the config file in the right location
[simgrid.git] / tools / tesh2 / examples / bg-set-signal.tesh
index f6e4be8255211298ac66e06491369e8be8cdfc4d..c884a55f917ce0321cf687be0aad37df25ed8971 100644 (file)
@@ -1,21 +1,24 @@
-#! ./tesh\r
-# This suite builds and uses a program raising a segfault, ie a program dying\r
-# of SIGSEV. tesh must detect this condition and report the issue.\r
-\r
-$ rm -rf temp_testdir\r
-$ mkdir temp_testdir\r
-\r
-$ cd temp_testdir\r
-< #include <stdlib.h>\r
-< int main(void) {\r
-<   char *A=NULL;\r
-<   *A = 1;\r
-< }\r
-$ cat > segfault.c\r
-\r
-$ gcc -o segfault segfault.c\r
-! expect signal SIGSEGV\r
-& ./segfault\r
-$ sleep 1\r
-$ cd ..\r
-$ rm -rf temp_testdir\r
+#! ./tesh
+# 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
+
+$ cd temp_testdir
+< #include <stdlib.h>
+< int main(void) {
+<   char *A=NULL;
+<   *A = 1;
+< }
+$ cat > segfault.c
+
+$ gcc -o segfault segfault.c
+! expect signal SIGSEGV
+& ./segfault
+$ sleep 1
+$ cd ..
+$ rm -rf temp_testdir
+
+
+