[Bug 2203] New: diff -r on a dir with trailing / goes bad

bugzilla at busybox.net bugzilla at busybox.net
Fri Jul 9 07:10:08 UTC 2010


           Summary: diff -r on a dir with trailing / goes bad
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: natanael.copa at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0

doing a 'diff -r dir1 dir2/' goes bad when there is a trailing / on dir.

To reproduce:

t:~/work# mkdir test
t:~/work# touch test/test1
t:~/work# touch test/test2
t:~/work# touch test/test3
t:~/work# cp -r test/ test2
t:~/work# diff -r test test2/
Only in test2/: est1
Only in test2/: est2
Only in test2/: est3
Only in test: test1
Only in test: test2
Only in test: test3

Expected reslult would be to print nothing since dirs are equal.

Originally reported on: http://redmine.alpinelinux.org/issues/381

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list