generic/079: use _require_test_program
authorAmir Goldstein <amir73il@gmail.com>
Thu, 6 Apr 2017 05:49:19 +0000 (08:49 +0300)
committerEryu Guan <eguan@redhat.com>
Fri, 7 Apr 2017 05:11:56 +0000 (13:11 +0800)
commit8a8a4b95b25c74df9a392428a4e031621c145bda
tree1b541f3ddc85b9551b29e157ec47d1e9d2719724
parente1a49994e57927013f116b13dd8a79dbb3ed01a4
generic/079: use _require_test_program

use _require_test_program helper and specify both +i and +a
to _required_chattr, because test sets them both.

Also remove unneeded _scratch_unmount from _cleanup.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/079