CVS log for xfs-cmds/xfstests/src/bulkstat_unlink_test.c

[BACK] Up to [Development] / xfs-cmds / xfstests / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 30 03:07:42 2007 UTC (9 years, 11 months ago) by mohamedb.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored)

Remove a redundant line.
Merge of master-melb:xfs-cmds:29978a by kenmcd.

  Removed a redundant line and added some extra debug info.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 26 16:05:04 2007 UTC (9 years, 11 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +157 -96 lines
Diff to previous 1.1 (colored)

Add -r switch to src/bulkstat_unlink_test.c needed for QA test 183

(whitespace cleanups)

This patch adds a -r switch (using getopt as suggested by dchinner)
to src/bulkstat_unlink_test.c, that will implement the additional checks
described by vlad in PV 972128.

Basically we:
* Save the inode count in scount.
* Create nfiles new files (passed as argument).
* Open those nfiles.
* Unlink the files.
* Check that the inode count is greater than scount.
* close the files.
* Check that the inode count is the same as scount.

This patch also introduces more info on failure (Line number and file) before the exit()s, as well
as comments describing what we are doing.

This patch is to be used by QA test 183
SGI-Git-Id: 4ab8fa354f79070b4ba87cb09c4326d62da824fd
SGI-Git-author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-date: Wed, 24 Oct 2007 13:24:27 +1000
Merge of master-melb:xfs-cmds:29964a by kenmcd.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 24 16:08:02 2007 UTC (10 years, 2 months ago) by mohamedb.longdrop.melbourne.sgi.com
Branch: MAIN

intigrate bulkstat_unlink_test into XFS-QA
Merge of master-melb:xfs-cmds:29213a by kenmcd.

  Test written by markgw

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>