From 687319d064d5b31cba7b77507abb0442c59462a9 Mon Sep 17 00:00:00 2001 From: vapier Date: Sat, 1 Apr 2006 20:38:22 +0000 Subject: work outside of the srctree git-svn-id: svn://busybox.net/trunk/busybox@14725 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- testsuite/all_sourcecode.tests | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ # Copyright 2006 by Mike Frysinger # Licensed under GPL v2, see file LICENSE for details. +[ -n "$srcdir" ] || srcdir=$(pwd) . testing.sh # verify the applet order is correct in applets.h, otherwise # applets won't be called properly. sed -n -e '/^USE_[A-Z]*(APPLET(/{s:.*(::;s:,.*::;s:"::g;p}' \ - ../include/applets.h > applet.order.current + $srcdir/../include/applets.h > applet.order.current LC_ALL=C sort applet.order.current > applet.order.correct testing "Applet order" "diff -u applet.order.current applet.order.correct" "" "" "" rm -f applet.order.current applet.order.correct -- cgit v1.2.3-55-g6feb