Files
apfstests/tests/generic
Zhihao Cheng b7cecbea22 fstests: Add path $here before src/<file>
Calling src/<file> without path '$here' may cause the problem that
the file cannot be found.

For example, Running generic/192 with overlayfs(Let ubifs as base
fs) yields the following output:

  generic/192 - output mismatch
     QA output created by 192
     sleep for 5 seconds
     test
    +./common/rc: line 316: src/t_dir_type: No such file or directory
     delta1 is in range
     delta2 is in range
    ...

When the use case fails, the call stack in generic/192 is:

  local unknowns=$(src/t_dir_type $dir u | wc -l)	common/rc
  _supports_filetype					common/rc
  _overlay_mount					common/overlay
  _overlay_test_mount					common/overlay
  _test_mount						common/rc
  _test_cycle_mount					generic/192

Before _test_cycle_mount() being invoked, generic/192 executed 'cd
/' to change work dir from 'xfstests-dev' to '/', so src/t_dir_type
was not found.

[Eryu: some tests run src/<file> as regular user, don't add $here
prefix in such case, as a regular user may have no search permission
on $here]

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-10-23 23:12:42 +08:00
..
2019-10-13 21:01:41 +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
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
2018-09-30 13:57:50 +08:00
2018-09-30 13:57:50 +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
2016-06-28 11:30:49 +08:00
2019-03-02 17:18:54 +08:00
2019-10-23 23:12:42 +08:00
2019-10-23 23:12:42 +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-10-23 23:12:42 +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
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
2018-11-05 00:42:49 +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
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
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-08-18 23:16:35 +08:00
2019-07-21 21:27:51 +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-10-13 21:01:41 +08:00
2019-10-13 21:01:41 +08:00
2019-10-13 21:01:41 +08:00