Avoid spurious error message. (Technically applet order should be "SKIPPED"
authorRob Landley <rob@landley.net>
Tue, 4 Apr 2006 15:39:23 +0000 (15:39 -0000)
committerRob Landley <rob@landley.net>
Tue, 4 Apr 2006 15:39:23 +0000 (15:39 -0000)
when you move the testsuite directory outside of busybox and run it, but as
long as the test doesn't fail we're ok.)

testsuite/all_sourcecode.tests

index ac10a89bc5bd1e06a4bea5a969107e27257bab6f..75a01e6d74b7fb27414b698aebf0f042524b19e0 100755 (executable)
@@ -10,7 +10,7 @@
 # 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}' \
-       $srcdir/../include/applets.h > applet.order.current
+       $srcdir/../include/applets.h > applet.order.current 2> /dev/null
 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