Martin Kletzander f2e16994f7 util: Don't check if entries under /sys/fs/resctrl/(info/) are directories
We are skipping non-directories under /sys/fs/resctrl/(info/) since those are not
interesting for us.  However in tests it can sometimes happen that ent->d_type
is 0 instead of 4 (DT_DIR) for directories.

I've seen it fail on two machines.  Different machines, different systems, I
cannot reproduce it even using the same setup.  So one of the ways how to work
around this is call stat() on it.  The other one is not checking if it is a
directory since we'll find out eventually when we want to read some files
underneath it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2018-01-29 21:40:54 +01:00
..
2017-11-03 13:24:12 +01:00
2016-06-16 06:17:58 -04:00
2017-11-18 10:45:10 +01:00
2017-11-18 10:45:10 +01:00
2017-10-16 10:29:32 -04:00
2017-10-16 10:29:32 -04:00
2017-10-10 09:27:00 +01:00
2017-05-02 17:27:13 +01:00
2017-11-03 13:24:12 +01:00
2016-06-16 13:09:19 -04:00
2017-01-25 09:18:49 +01:00
2017-05-26 20:00:51 +04:00
2017-07-26 15:31:25 +02:00
2017-07-26 15:31:25 +02:00
2017-01-04 12:47:01 +01:00
2017-05-16 16:48:30 +02:00
2017-11-03 13:24:12 +01:00
2017-06-12 19:11:30 -04:00
2016-08-02 14:20:31 +02:00
2016-08-02 14:20:31 +02:00
2016-10-13 17:58:56 +08:00
2016-03-18 09:43:45 +01:00
2016-07-28 08:27:13 -04:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-03-22 09:01:32 +01:00
2018-01-11 18:53:04 +01:00
2018-01-11 18:53:04 +01:00
2017-12-05 11:28:19 +01:00
2016-12-15 09:25:16 +01:00
2017-11-18 10:45:10 +01:00
2017-11-18 10:45:10 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00
2017-11-03 13:24:12 +01:00