Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move process_vm_readv-based implementation of libunwind in simgrid::mc
[simgrid.git] / tools / tesh / background.tesh
1
2 $ cmake -E remove_directory temp_testdir_background
3 $ mkdir temp_testdir_background
4 $ cd temp_testdir_background
5
6 < use strict; 
7 < sleep(2);
8 < open (FILE, "<tmp_fich") || die "Cannot open tmp_fich: $!\n";
9
10 < while (<FILE>) {
11 <   print;
12 < }
13 < exit 0;
14 <
15 $ mkfile delayed_cat.pl
16
17 & perl delayed_cat.pl
18 > TOTO
19
20 < TOTO
21 $ mkfile tmp_fich
22
23 $ sleep 2
24 $ cd ..
25 $ cmake -E remove_directory temp_testdir_background