]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commitdiff
xtf: fix usage of "-executable" with find for-andrew
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 6 May 2016 11:07:30 +0000 (13:07 +0200)
committerRoger Pau Monne <roger.pau@citrix.com>
Fri, 6 May 2016 14:22:59 +0000 (16:22 +0200)
"-executable" is a GNU only extension to find. Instead replace it with a
POSIX compatible one.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Makefile

index 7657e194c9e61b7e4fc23d0be10ae3d3a4da9c51..fd8c3e0af26c30cb948c381c46ed91d746da0d0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ cscope:
 .PHONY: clean
 clean:
        find . \( -name "*.o" -o -name "*.d" -o -name "*.lds" \) -delete
-       find tests/ \( -executable -name "test-*" -o -name "test-*.cfg" \
+       find tests/ \( -perm -a=x -name "test-*" -o -name "test-*.cfg" \
                -o -name "test-info.json" \) -delete
 
 .PHONY: distclean