Commit Graph

71 Commits

Author SHA1 Message Date
Tim Shimmin f7e9207c9d regenerate dmapi Makefile in using automake
Merge of master-melb:xfs-cmds:31014a by kenmcd.

  regenerate using aclocal
2008-05-01 16:34:55 +00:00
Dave Chinner 9b1a4bd08e xfsqa 185 shouldn't have uninitialised variables in the golden output
Kill the output of uninitialised values when punching a hole.
This prevents the test from passing on just about everything.
Merge of master-melb:xfs-cmds:30762a by kenmcd.

  remove roffp and rlenp output for punch operations.
2008-04-08 06:20:04 +00:00
Niv Sardi 9a3b0f6db9 Finish TAKE, the last one lacked the Makefile modifications.
Merge of master-melb:xfs-cmds:30720a by kenmcd.
2008-03-27 03:18:28 +00:00
Niv Sardi 98df5b85a7 xfstests: add test 185, Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE),
tests PV 976771, by trying to punch a hole that's not page aligned but block aligned
Merge of master-melb:xfs-cmds:30582a by kenmcd.

  New QA test
2008-02-27 03:20:18 +00:00
Vlad Apostolov 709c7a80fd Fix unexpected 32 bit sign extension for linux time. It was fine for Irix.
Merge of master-melb:xfs-cmds:29738a by kenmcd.

  pv 964111, rv lacklan - Fix unexpected 32 bit sign extension for linux time. It was fine for Irix.
2007-09-21 04:15:06 +00:00
Vlad Apostolov 1150f6c3ba pv 968773, author Chris Pascoe <c.pascoe@itee.uq.edu.au>, rv vapo - minor fixes for XFS DMAPI tests
Merge of master-melb:xfs-cmds:29348a by kenmcd.

  pv 968773, author Chris Pascoe <c.pascoe@itee.uq.edu.au>, rv vapo - minor fixes for XFS DMAPI tests
2007-08-08 07:54:05 +00:00
Vlad Apostolov a579284225 pv 964111, rv lachlan - > attrname[DM_ATTR_NAME_SIZE] = '\0'; /* terminate the string */
Merge of master-melb:xfs-cmds:29347a by kenmcd.

  pv 964111, rv lachlan - terminate attribute name string
2007-08-08 07:53:19 +00:00
Lachlan McIlroy d671606385 Fix build failure.
Merge of master-melb:xfs-cmds:29235a by kenmcd.

  Fix build failure.
2007-07-26 21:25:32 +00:00
Vlad Apostolov fbdf0823b5 XFSQA test 144 fails again on tot linux_xfs
Merge of master-melb:xfs-cmds:28113a by kenmcd.

  pv 961215, rv allanr - replacing fsync() with global sync()
2007-02-16 02:59:54 +00:00
Vlad Apostolov 1446a39125 Fix menu items order
Merge of master-melb:xfs-cmds:28083a by kenmcd.

  Fix menu items order
2007-02-13 02:54:16 +00:00
Allan Randall e0015c93d0 Dmapi build fix
Merge of master-melb:xfs-cmds:27826a by kenmcd.

  added default make option
2007-01-02 14:38:56 +00:00
Allan Randall 2178b18ed3 add file required by dmapi qa
Merge of master-melb:xfs-cmds:27768a by kenmcd.

  file required by dmapi qa
2006-12-19 02:56:20 +00:00
Vlad Apostolov 11cced490a 955274: DMAPI qa test fixes
Merge of master-melb:xfs-cmds:27241a by kenmcd.

  avoid negative number LONG_MAX + 1
2006-10-19 06:08:45 +00:00
Vlad Apostolov c6412978e7 pv 955274 - Print out hex instead of char for non-printable characters.
Merge of master-melb:xfs-cmds:27095a by kenmcd.

  pv 955274 - Print out hex instead of char for non-printable characters.
2006-10-02 15:47:47 +00:00
Vlad Apostolov fba6c12448 pv 955274 - Limit the offset passed to dm_write_invis() to the file size to avoid
EINVAL error. Fix u_char to char comparison. Print out hex instead of
char for nonprintable characters.
Merge of master-melb:xfs-cmds:27094a by kenmcd.

  pv 955274 - Limit the offset passed to dm_write_invis() to the file size to avoid 
  EINVAL error. Fix u_char to char comparison. Print out hex instead of 
  char for nonprintable characters.
2006-10-02 15:47:03 +00:00
Vlad Apostolov f3982a5a7e pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.
Merge of master-melb:xfs-cmds:27090a by kenmcd.

  pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.
2006-10-02 03:55:04 +00:00
Vlad Apostolov 8b4e94540c pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
Merge of master-melb:xfs-cmds:27061a by kenmcd.

  pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
2006-09-27 06:07:54 +00:00
Vlad Apostolov 817207981e pv 955274 - Limit the random generated file size attribute to 1 TB (if size is too big the kernel panics)
Merge of master-melb:xfs-cmds:27060a by kenmcd.

  pv 955274 - Limit the random generated file size attribute to 1 TB (if size is too big the kernel panics)
2006-09-27 06:07:10 +00:00
Vlad Apostolov d4f2f54689 pv 955274, rv bnaujok - add 1sec delay between file creation and changing its
attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't
change between create and dm_set_dmattr() and the test fails.
Merge of master-melb:xfs-cmds:26870a by kenmcd.

  pv 955274, rv bnaujok - add 1sec delay between file creation and changing its
  attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't
  change between create and dm_set_dmattr() and the test fails.
2006-08-28 03:52:59 +00:00
Bob Kierski e664e8508a Fix atohan to verify a valid hex string is being used for a handle.
atohan needs to verify that the string being passed in is actually a
valid hex string before it assumes that it's a file handle rather than
a file name.
PV 951244
2006-03-23 15:45:54 +00:00
Nathan Scott d259454b19 Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24329a by kenmcd.
2005-11-09 02:50:19 +00:00
Nathan Scott c15833f024 Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24326a by kenmcd.
2005-11-09 02:48:08 +00:00
Dean Roehrich 443293519d Make get_events easier to use in a script
Change some output to be valid as shell variable assignments.
2005-05-27 17:23:04 +00:00
Dean Roehrich a3d6ec627d fix write_invis, workaround irix compiler bug
Do not lseek--no reason for it.
Workaround irix compiler bug, I think, by using a temp variable
for the read() length...the irix compiler kept inserting a value of
zero for the length.
2005-05-27 17:20:01 +00:00
Dean Roehrich c5e1dd5f74 remove dump_allocinfo dmapi test
remove dump_allocinfo--really.
2004-12-28 21:13:44 +00:00