X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d1fe791f0b51ad44971b6ff2d6d26c92bb84c9aa..d74fd8dbe0c5c2ff1b0f8dde533851573e86e4f3:/tools/tesh/background.tesh diff --git a/tools/tesh/background.tesh b/tools/tesh/background.tesh index 7c9de93192..359d2a5446 100644 --- a/tools/tesh/background.tesh +++ b/tools/tesh/background.tesh @@ -9,13 +9,20 @@ $ cd temp_testdir_background < #include < #include < #include +< #ifdef WIN32 +< #include "windows.h" +< #endif < < int main() { < char buff[2048]; < int got; < int in; < +< #ifndef WIN32 < sleep(1); +< #else +< Sleep(1000); +< #endif < in = open("tmp_fich",O_RDONLY|O_CREAT); < if (in == -1) { < perror("Cannot open tmp_fich: ");