svn commit: trunk/busybox/testsuite
vapier at busybox.net
vapier at busybox.net
Sat Apr 1 20:38:34 UTC 2006
Author: vapier
Date: 2006-04-01 12:38:22 -0800 (Sat, 01 Apr 2006)
New Revision: 14725
Log:
work outside of the srctree
Modified:
trunk/busybox/testsuite/all_sourcecode.tests
Changeset:
Modified: trunk/busybox/testsuite/all_sourcecode.tests
===================================================================
--- trunk/busybox/testsuite/all_sourcecode.tests 2006-04-01 17:36:31 UTC (rev 14724)
+++ trunk/busybox/testsuite/all_sourcecode.tests 2006-04-01 20:38:22 UTC (rev 14725)
@@ -4,12 +4,13 @@
# Copyright 2006 by Mike Frysinger <vapier at gentoo.org>
# 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
More information about the busybox-cvs
mailing list