2 // Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
4 // This test will use the following files:
6 ctf stf ls_to_copy ctest.c
7 fcntl open_test truncate rd wf mmap_cp
9 set_region set_return_on_destroy
10 --------------------------------------------
11 // These setup commands are run before the daemon starts.
12 // They reset the file structure of the test directory
17 $1/stf $1 $real_dir/l??
19 cp $1/ctest.c $real_dir
20 chown $lname $real_dir/l??
21 chown $lname $real_dir/ctest.c
22 $1/set_return_on_destroy $real_dir test
24 print "Please resize your DMAPI event queue to hold about 2 to 10 events."
25 --------------------------------------------
26 @@ Slow i/o test: Do 10 open_tests
29 $1/open_test $2/ls0 o_rdwr &
30 $1/open_test $2/ls0 o_rdwr &
31 $1/open_test $2/ls0 o_rdwr &
32 $1/open_test $2/ls0 o_rdwr &
33 $1/open_test $2/ls0 o_rdwr &
34 $1/open_test $2/ls0 o_rdwr &
35 $1/open_test $2/ls0 o_rdwr &
36 $1/open_test $2/ls0 o_rdwr &
37 $1/open_test $2/ls0 o_rdwr &
38 $1/open_test $2/ls0 o_rdwr &
39 --------------------------------------------
40 @@ Slow i/o test: Append ten bytes to ls1
53 --------------------------------------------
54 @@ Slow i/o test: Do one more, then stand back and wait!
56 $1/open_test $2/ls0 o_rdwr