Files
apfstests/tests/generic
Theodore Ts'o ea726c4a55 generic/386: check the correct field from df output
The generic/386 test was checking the "Available" field when it
should have been checking the "1k-blocks" field, which represents
the project quota's hard limit.  On xfs, an empty directory takes no
space, so it doesn't matter.  But for ext4, an empty directory still
takes 4k (or whatever the file system's block size happens to be):

Filesystem           1K-blocks       Used  Available  Use% Pathname
/dev/vdc                512000          4     511996    0% /vdc/test

This causes generic/386 to falsely fail.

This fix is needed to fix generic/386 from failing on ext4:

    hard limit 524283904 bytes, expected 524288000

[Eryu: Used $(NF-4) instead of $2 as Eric Sandeen and Yang Xu
suggested]

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-12-29 23:55:35 +08:00
..
2019-10-13 21:01:41 +08:00
2019-10-23 23:12:42 +08:00
2019-11-02 14:30:14 +08:00
2019-10-23 23:12:42 +08:00
2018-09-30 13:57:50 +08:00
2015-12-21 18:01:47 +11:00
2014-04-14 10:35:27 +10:00
2014-04-14 11:19:23 +10:00
2014-04-14 10:37:32 +10:00
2019-03-24 10:37:43 +08:00
2014-04-28 10:55:12 +10:00
2014-05-27 12:07:17 +10:00
2014-06-18 09:31:38 +10:00
2014-09-29 12:58:24 +10:00
2019-03-23 21:27:12 +08:00
2014-09-29 13:26:32 +10:00
2019-10-23 23:12:42 +08:00
2015-01-21 15:58:23 +11:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2015-03-18 14:58:51 +11:00
2015-04-02 09:41:15 +11:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2017-07-24 12:34:52 +08:00
2019-10-23 23:12:42 +08:00
2017-07-24 12:13:35 +08:00
2017-07-24 12:23:39 +08:00
2019-03-24 10:37:43 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2015-08-04 14:10:49 +10:00
2018-09-30 13:57:50 +08:00
2015-09-21 13:06:18 +10:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +08:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2015-12-21 18:13:37 +11:00
2019-10-23 23:12:42 +08:00
2018-09-30 13:57:50 +08:00
2019-11-10 23:26:11 +08:00
2019-11-10 23:26:11 +08:00
2016-02-08 09:27:14 +11:00
2019-09-08 18:58:56 +08:00
2014-12-16 10:53:57 +11:00
2019-10-23 23:12:42 +08:00
2016-02-12 09:39:05 -08:00
2019-10-23 23:12:42 +08:00
2019-11-02 14:30:14 +08:00
2019-11-02 14:30:14 +08:00
2016-06-28 11:30:49 +08:00
2019-11-02 14:30:14 +08:00
2019-11-02 14:30:14 +08:00
2019-03-02 17:18:54 +08:00
2019-10-23 23:12:42 +08:00
2019-11-02 14:30:14 +08:00
2014-01-20 12:47:56 +11:00
2014-08-13 11:19:33 +10:00
2018-08-19 20:13:11 +08:00
2016-02-12 09:39:05 -08:00
2018-08-19 20:13:11 +08:00
2016-02-12 09:39:05 -08:00
2019-10-23 23:12:42 +08:00
2016-02-12 09:39:05 -08:00
2019-10-23 23:12:42 +08:00
2016-02-12 09:39:05 -08:00
2016-03-23 17:39:11 +11:00
2016-03-23 17:39:11 +11:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2016-05-09 10:55:24 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2019-10-23 23:12:42 +08:00
2016-06-15 15:44:49 +08:00
2016-06-15 15:44:49 +08:00
2016-06-15 16:35:20 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-08-26 15:45:00 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2018-06-13 09:48:53 +08:00
2016-12-24 16:47:12 +08:00
2019-11-02 14:30:14 +08:00
2019-10-23 23:12:42 +08:00
2016-12-24 20:21:55 +08:00
2017-02-15 17:55:41 +08:00
2017-02-15 17:55:57 +08:00
2019-10-23 23:12:42 +08:00
2017-03-02 12:26:17 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2017-04-11 12:34:24 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2017-05-12 21:13:19 +08:00
2019-06-08 00:43:30 +08:00
2017-05-17 20:21:59 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +08:00
2017-08-15 14:37:59 +08:00
2019-05-26 14:24:48 +08:00
2019-05-26 14:24:48 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2017-09-09 18:15:53 +08:00
2018-09-30 13:57:50 +08:00
2019-10-23 23:12:42 +08:00
2017-09-30 00:53:30 +08:00
2017-12-14 12:39:57 +08:00
2017-12-24 21:30:58 +08:00
2018-02-16 01:28:32 +08:00
2019-03-02 17:18:54 +08:00
2019-10-23 23:12:42 +08:00
2018-05-21 16:12:39 +08:00
2019-11-02 14:30:14 +08:00
2018-07-12 13:12:23 +08:00
2019-08-24 22:08:21 +08:00
2019-04-14 19:05:36 +08:00
2018-10-14 23:05:26 +08:00
2018-10-14 23:05:26 +08:00
2018-10-21 17:40:31 +08:00
2018-10-21 17:40:31 +08:00
2019-11-02 14:30:14 +08:00
2018-10-21 17:40:31 +08:00
2018-10-21 17:40:31 +08:00
2018-10-21 17:40:31 +08:00
2018-10-21 17:40:31 +08:00
2019-08-18 23:05:45 +08:00
2018-11-11 22:19:14 +08:00
2018-12-09 22:56:51 +08:00
2018-12-09 22:56:51 +08:00
2018-12-09 22:56:51 +08:00
2018-12-09 22:56:51 +08:00
2019-10-23 23:12:42 +08:00
2019-06-19 13:35:31 +08:00
2019-04-06 19:14:59 +08:00
2019-04-14 19:21:52 +08:00
2019-04-14 19:21:52 +08:00
2019-04-14 19:21:52 +08:00
2019-04-14 19:21:52 +08:00
2019-04-14 19:21:52 +08:00
2019-04-14 19:21:52 +08:00
2019-05-19 21:54:23 +08:00
2019-07-11 15:16:47 +08:00
2019-07-11 15:16:47 +08:00
2019-11-27 23:22:47 +08:00
2019-08-18 23:16:35 +08:00
2019-07-21 21:27:51 +08:00
2019-07-22 00:41:30 +08:00
2019-07-22 00:42:05 +08:00
2019-09-15 12:05:18 +08:00
2019-10-13 19:29:39 +08:00
2019-10-13 19:29:39 +08:00
2019-11-02 14:30:14 +08:00
2019-10-13 21:01:41 +08:00
2019-10-13 21:01:41 +08:00
2019-10-26 22:42:52 +08:00
2019-12-08 22:15:34 +08:00
2019-12-08 22:15:34 +08:00
2019-12-09 00:09:32 +08:00
2019-12-09 00:09:32 +08:00
2019-12-09 00:09:32 +08:00