Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a win32 auto.tesh (because echo test and pwd do not exist on Windows)
[simgrid.git] / tools / tesh2 / examples / set-return.tesh
index a560075..d3b1600 100644 (file)
@@ -1,20 +1,20 @@
-#! ./tesh\r
-# This suite builds and uses a program returning 1.\r
-# tesh is instructed of this return code and must not whine.\r
-\r
-$ rm -rf temp_testdir\r
-$ mkdir temp_testdir\r
-\r
-$ cd temp_testdir\r
-< #include <stdlib.h>\r
-< int main(void) {\r
-<   exit(1);\r
-< }\r
-$ cat > return1.c\r
-\r
-$ gcc -o return1 return1.c\r
-\r
-! expect return 1\r
-$ ./return1\r
-$ cd ..\r
-$ rm -rf temp_testdir\r
+#! ./tesh
+# This suite builds and uses a program returning 1.
+# tesh is instructed of this return code and must not whine.
+
+$ rm -rf temp_testdir
+$ mkdir temp_testdir
+
+$ cd temp_testdir
+< #include <stdlib.h>
+< int main(void) {
+<   exit(1);
+< }
+$ cat > return1.c
+
+$ gcc -o return1 return1.c
+
+! expect return 1
+$ ./return1
+$ cd ..
+$ rm -rf temp_testdir