Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Last corrections of Tesh tool.
[simgrid.git] / tools / tesh2 / examples / set-signal.tesh
index 5e40c38..5ff8572 100644 (file)
@@ -1,20 +1,20 @@
-#! ./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
-$ 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
+$ cd ..
+$ rm -rf temp_testdir