bug in diff -r

Roman Borisov ext-roman.borisov at nokia.com
Tue Jan 25 13:45:03 UTC 2011


the analysis of ltp 2010 fs_bind failures showed 3 bugs.
the third test case to show diff -r issue:

mkdir dir1 dir2
mkdir dir2/a dir2/b
busybox diff -r dir1 dir2

diff returns "1" (failure) but right behavior is notifying:
"Only in dir2: a
Only in dir2: b"
and result = 0

the results were compared with diff-utils;
looks like -r option handling is wrong. I didn't investigate it enough


More information about the busybox mailing list