diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-01 23:27:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-01 23:27:13 +0000 |
commit | 48d7cf654942b87ec07d7bdaed0910cce3a0b9f7 (patch) | |
tree | fb9d4f1cf21bf59b2b8f72c22b55af6b206b44eb /test/build | |
parent | 669258f007c0b3ff8f8fcac7cfda8c07754c8979 (diff) |
fix test failure pointed out by nightly build
Diffstat (limited to 'test/build')
-rw-r--r-- | test/build/check_config_options.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/test/build/check_config_options.sh b/test/build/check_config_options.sh index 93a5e7280..56d09244b 100644 --- a/test/build/check_config_options.sh +++ b/test/build/check_config_options.sh @@ -1,16 +1,20 @@ #!/bin/sh +ret=0 + # Make sure nothing uses the ARCH_HAS_MMU option anymore -ret=$( -grep -rHI \ +result=$( +grep -rsHI \ __ARCH_HAS_MMU__ ../.. \ | grep -v \ -e include/bits/uClibc_config.h \ - -e test/build/check_config_options.sh + -e test/build/check_config_options.sh \ + -e /.svn/ ) -if test -n "$ret" ; then +if test -n "$result" ; then echo "The build system is incorrectly using ARCH_HAS_MMU:" - echo "$ret" + echo "$result" + ret=1 fi -exit 0 +exit $ret |