Question about Busybox Testsuite

ChenQi Qi.Chen at windriver.com
Tue Oct 22 06:53:03 UTC 2013


Hi all,

Does busybox's testsuite still make sense for a sanity check?

I just built a busybox and used `make check' to perform a sanity check.
There were several failures. I built both on lastest master and 
1.21-stable release.
Are these failures expected? Or are these known failures?

Best Regards,
Chen Qi

====================================================

I pasted below some output in busybox-test.log to let you have a quick look.
(The complete log file is attached.)
FAIL: ls-l-works
+ test x != x
+ [ -n /home/chenqi/projects/busybox/testsuite ]
+ LC_ALL=C ls -l /home/chenqi/projects/busybox/testsuite
+ LC_ALL=C busybox ls -l /home/chenqi/projects/busybox/testsuite
+ diff -ubw logfile.gnu logfile.bb
--- logfile.gnu 2013-09-09 10:41:57.801110107 +0800
+++ logfile.bb  2013-09-09 10:41:57.805110107 +0800
@@ -1,4 +1,3 @@
-total 572
  -rw-rw-r-- 1 chenqi chenqi  2052 May 29 14:06 README
  -rw-rw-r-- 1 chenqi chenqi   983 May 29 14:06 TODO
  -rwxrwxr-x 1 chenqi chenqi  2703 May 29 14:06 all_sourcecode.tests

FAIL: ls-s-works
+ test x != x
+ [ -n /home/chenqi/projects/busybox/testsuite ]
+ LC_ALL=C ls -1s /home/chenqi/projects/busybox/testsuite
+ LC_ALL=C busybox ls -1s /home/chenqi/projects/busybox/testsuite
+ diff -ubw logfile.gnu logfile.bb
--- logfile.gnu 2013-09-09 10:41:57.813110107 +0800
+++ logfile.bb  2013-09-09 10:41:57.813110107 +0800
@@ -1,4 +1,3 @@
-total 572
   4 README
   4 TODO
   4 all_sourcecode.tests

FAIL: sed n (flushes pattern space, terminates early)
--- expected
+++ actual
@@ -2,3 +2,4 @@
  b
  b
  c
+c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-test.log
Type: text/x-log
Size: 44639 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20131022/3a4ce8b3/attachment-0001.bin>


More information about the busybox mailing list