Files
apfstests/tests/xfs
Zorro Lang 08adb2554e fstests: test xfs_copy V5 XFS without -d option
Before xfsprogs commit a872b62 (xfs_copy: band-aids for CRC
filesystems), xfs_copy requires the "-d" option to copy a V5 XFS,
because it can't rewrite the UUID of V5 XFS properly.

Now xfs_copy already full support to copy a V5 XFS. But for above
old problem, xfstests use below patch to make sure xfs_copy always
use "-d" option to copy a V5 XFS:

  8346e53 common: append -d option to XFS_COPY_PROG when testing v5 xfs

That cause xfstests miss the coverage of copying a V5 XFS without
"-d". For test this feature I did below things:

  1. Changed init_rc(), add "-d" to $XFS_COPY_PROG if xfs_copy can't
     copy a V5 XFS properly.
  2. xfs/073 test V4 xfs forcibly by specify "-m crc=0" in case. I
     think it's useless now, so remove it.
  3. Changed xfs/032. If xfs_copy full support to copy a V5 XFS, test
     with and without "-d" option, or only test with "-d" option.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2016-11-13 14:01:06 +08:00
..
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-02-19 10:49:17 +11:00
2016-10-21 23:20:14 +08:00
2016-10-21 23:20:14 +08:00
2014-10-14 17:40:34 +11:00
2014-05-13 15:28:35 +10:00
2016-10-21 23:20:14 +08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2015-09-21 11:04:59 +10:00
2016-10-21 23:20:14 +08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2016-10-21 23:20:14 +08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-11-10 18:06:23 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2016-02-19 10:49:17 +11:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-07-19 12:15:52 +08:00
2016-04-05 11:46:12 +10:00
2015-10-14 14:08:51 +11:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2013-04-04 06:55:21 -05:00
2016-10-07 17:18:53 +08:00
2013-04-04 06:55:21 -05:00
2016-10-07 17:18:53 +08:00
2016-11-07 16:06:31 +08:00
2013-04-04 06:55:21 -05:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2015-10-14 14:08:51 +11:00
2015-10-14 14:08:51 +11:00
2015-10-14 14:08:51 +11:00
2015-10-14 14:08:51 +11:00
2015-10-14 14:08:51 +11:00
2016-11-07 16:06:31 +08:00
2013-04-04 06:55:21 -05:00
2016-10-07 17:18:53 +08:00
2015-05-26 12:51:57 +10:00
2013-04-04 06:55:21 -05:00
2016-10-21 23:20:14 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-14 10:05:34 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2015-11-17 08:39:56 +11:00
2016-10-07 17:18:53 +08:00
2016-03-23 17:39:11 +11:00
2016-10-07 17:18:53 +08:00
2016-10-21 23:20:14 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-01-11 15:11:20 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2016-05-09 16:03:27 +10:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2016-10-07 17:18:53 +08:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2013-04-04 06:55:21 -05:00
2016-02-19 10:49:17 +11:00
2016-10-07 17:18:53 +08:00
2016-04-05 11:46:12 +10:00
2016-10-07 17:18:53 +08:00
2016-10-21 23:20:14 +08:00
2016-10-07 17:18:53 +08:00
2016-03-23 17:39:11 +11:00
2016-03-23 17:39:11 +11:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-05-09 16:03:27 +10:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2013-04-04 06:55:21 -05:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-02-12 09:39:05 -08:00
2016-05-09 16:03:27 +10:00
2016-05-09 16:03:27 +10:00
2016-08-26 15:29:49 +08:00
2016-08-26 15:29:49 +08:00
2016-08-26 15:29:49 +08:00
2016-10-07 17:18:53 +08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-09-08 19:33:14 +08:00
2016-10-21 23:20:14 +08:00
2016-09-08 19:36:13 +08:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2016-09-15 12:26:58 +08:00
2016-09-15 12:26:58 +08:00
2016-10-07 17:18:53 +08:00
2016-10-21 23:20:14 +08:00
2014-02-06 16:36:14 +11:00
2016-10-07 17:18:53 +08:00
2016-05-09 10:51:33 +10:00
2014-03-13 15:20:54 +11:00
2016-05-09 16:03:27 +10:00
2016-06-21 13:54:44 +08:00
2016-10-21 23:20:14 +08:00
2016-06-15 15:44:49 +08:00
2016-10-21 23:20:14 +08:00
2016-06-15 15:44:49 +08:00
2016-10-07 17:18:53 +08:00
2016-10-07 17:18:53 +08:00
2016-08-05 10:32:10 +08:00
2016-08-05 10:32:10 +08:00
2016-08-05 10:32:10 +08:00
2016-07-07 12:24:13 +08:00
2016-09-02 16:40:34 +08:00
2016-09-02 16:40:34 +08:00
2016-09-02 16:40:34 +08:00
2016-09-02 16:40:34 +08:00
2016-09-02 16:40:34 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00
2016-10-08 14:02:04 +08:00