diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-01 20:38:22 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-01 20:38:22 +0000 |
commit | 687319d064d5b31cba7b77507abb0442c59462a9 (patch) | |
tree | 462aad79f79ddb2bebabb946728f1bd3b7006b0a | |
parent | 6215d96f2f44cb38b70617456e0d62694f91a39d (diff) | |
download | busybox-w32-687319d064d5b31cba7b77507abb0442c59462a9.tar.gz busybox-w32-687319d064d5b31cba7b77507abb0442c59462a9.tar.bz2 busybox-w32-687319d064d5b31cba7b77507abb0442c59462a9.zip |
work outside of the srctree
git-svn-id: svn://busybox.net/trunk/busybox@14725 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rwxr-xr-x | testsuite/all_sourcecode.tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/all_sourcecode.tests b/testsuite/all_sourcecode.tests index be1d7f395..ac10a89bc 100755 --- a/testsuite/all_sourcecode.tests +++ b/testsuite/all_sourcecode.tests | |||
@@ -4,12 +4,13 @@ | |||
4 | # Copyright 2006 by Mike Frysinger <vapier@gentoo.org> | 4 | # Copyright 2006 by Mike Frysinger <vapier@gentoo.org> |
5 | # Licensed under GPL v2, see file LICENSE for details. | 5 | # Licensed under GPL v2, see file LICENSE for details. |
6 | 6 | ||
7 | [ -n "$srcdir" ] || srcdir=$(pwd) | ||
7 | . testing.sh | 8 | . testing.sh |
8 | 9 | ||
9 | # verify the applet order is correct in applets.h, otherwise | 10 | # verify the applet order is correct in applets.h, otherwise |
10 | # applets won't be called properly. | 11 | # applets won't be called properly. |
11 | sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \ | 12 | sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \ |
12 | ../include/applets.h > applet.order.current | 13 | $srcdir/../include/applets.h > applet.order.current |
13 | LC_ALL=C sort applet.order.current > applet.order.correct | 14 | LC_ALL=C sort applet.order.current > applet.order.correct |
14 | testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" "" | 15 | testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" "" |
15 | rm -f applet.order.current applet.order.correct | 16 | rm -f applet.order.current applet.order.correct |