overlay/07[01]: use existing char/block devices
authorAmir Goldstein <amir73il@gmail.com>
Mon, 16 Mar 2020 18:53:20 +0000 (20:53 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 22 Mar 2020 15:18:38 +0000 (23:18 +0800)
commit4df36dac1833933edd39f47cb076f19f5e9d3375
tree53ff7e688f99eaa262c98583df4a07eb442b53ee
parent74278dc293551264b4be0a7d768e0e54bd09f8e9
overlay/07[01]: use existing char/block devices

If the arbitrary char/block devices 1:1 do not exist in the system,
the tests fail.

Use /dev/zero and loop device instead of made up device numbers.

Reposted-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/070
tests/overlay/071