[BACK]Return to pending_nfs.dat CVS log [TXT][DIR] Up to [Development] / xfs-cmds / xfstests / dmapi / src / suite2 / data

File: [Development] / xfs-cmds / xfstests / dmapi / src / suite2 / data / pending_nfs.dat (download)

Revision 1.5, Wed Nov 9 02:50:19 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -29 lines

Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24329a by kenmcd.

//
// Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
//
// This test will use the following files:
//
ctf stf ls_to_copy set_region
--------------------------------------------
// These setup commands are run before the daemon starts.
// They reset the file structure of the test directory
// to a known state.
//
rm $real_dir/???
$1/ctf $1 $real_dir
$1/stf $1 $real_dir/l??
chown $lname $real_dir/l??
--------------------------------------------
@@ NFS test:  pending (1 of 2)
@@
// Run "pending" for the next 3 events,
// so that ls0 will trigger 3 pending
// pseudo-events before succeeding
//
run_as_root
$1/send_msg pending_3
event_count 1
event[0] user
msg_str[0] pending_3
--------------------------------------------
@@ NFS test:  pending (2 of 2)
@@
@@    (this will take a while...)
@@
$2/ls0 -l $real_dir
event_count 7
event[0] pending
event[1] pending
event[2] pending
event[3] read
event[4] read
event[5] read
event[6] read
tries_left[0] 2
tries_left[1] 1
tries_left[2] 0