diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2004-10-21 12:11:17 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2004-10-21 12:11:17 +0000 |
commit | cff6c2365fc55a026d467887896f52a74cdcd7bb (patch) | |
tree | d1ed74e2706d15e813ca224d4c784d12331d1078 /scripts | |
parent | 96818c2fbc4cc8b91d4191ff05115acdb9e901a0 (diff) | |
download | ptxdist-cff6c2365fc55a026d467887896f52a74cdcd7bb.tar.gz ptxdist-cff6c2365fc55a026d467887896f52a74cdcd7bb.tar.xz |
ok, we still use positive lists...
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@1941 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cuckoo-test | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/scripts/cuckoo-test b/scripts/cuckoo-test index 2f65669d5..b32ddad65 100755 --- a/scripts/cuckoo-test +++ b/scripts/cuckoo-test @@ -31,26 +31,17 @@ echo echo $CPUVENDOR cuckoo test echo "1 pass (egg test)" -# -# FIXME: positive lists are not handleble any more when python is -# installed... -# -#find . -type f -exec file {} \; | sed -e "s/ASCII.*/+++OK+++/" \ -#-e "s/Bourne.*executable/+++OK+++/" -e "s/empty/+++OK+++/" \ -#-e "s/PPCBoot.*/+++OK+++/" \ -#-e "s/ELF.*$CPUVENDOR.*/+++OK+++/" \ -#-e "s/FIGlet.*/+++OK+++/" \ -#-e "s/python script.*/+++OK+++/" \ -#-e "s/news or mail text.*/+++OK+++/" \ -#-e "s/Berkeley DB.*/+++OK+++/" \ -#-e "s/Compiled terminfo entry.*/+++OK+++/" \ -#-e "s/MIME entity text.*/+++OK+++/" \ -#-e "s/python.*byte-compiled.*/+++OK+++/" | \ -#grep -v "+++OK+++" | \ -find . -type f -exec file {} \; | \ - grep "ELF" | sed -e "s/ELF.*$CPUVENDOR.*/+++OK+++/" | \ - grep -v "+++OK+++" | \ - awk -F, '{print substr($1, 1, index($1,":"))" wrong architecture! ("$2")"}' +find . -type f -exec file {} \; | sed -e "s/ASCII.*/+++OK+++/" \ +-e "s/Bourne.*executable/+++OK+++/" -e "s/empty/+++OK+++/" \ +-e "s/PPCBoot.*/+++OK+++/" \ +-e "s/ELF.*$CPUVENDOR.*/+++OK+++/" \ +-e "s/FIGlet.*/+++OK+++/" \ +-e "s/python script.*/+++OK+++/" \ +-e "s/Berkeley DB.*/+++OK+++/" \ +-e "s/Compiled terminfo entry.*/+++OK+++/" \ +-e "s/python.*byte-compiled.*/+++OK+++/" | \ +grep -v "+++OK+++" | \ +awk -F, '{print substr($1, 1, index($1,":"))" wrong architecture! ("$2")"}' echo "---" echo "2 pass (fluff up test)" |