filecapstest.sh: fix a bug of fail in RHEL5

setcap is not used in ltp, So AC_CHECK_PROG(SETCAP,setcap,setcap)
should be deleted.

When HAVE_LIBCAP is not defined, the case should not be fail.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
6 files changed