rm: fix --one-file-system regression due to fts conversion
commitd64c186d8e28d99ece16e591f6823a1da904ac44
authorPádraig Brady <P@draigBrady.com>
Fri, 18 Dec 2009 12:26:04 +0000 (18 12:26 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 19 Dec 2009 01:14:07 +0000 (19 01:14 +0000)
tree79b4b008844fbf3bea30fff636f813d9bc87b6be
parentbfcfc0ce7282c301d024fdd02c68edcc9aac0bf3
rm: fix --one-file-system regression due to fts conversion

* src/remove.c (rm_fts): Fix incorrect comparison of
device and inode numbers.
* tests/rm/one-file-system2: Add a separate test so
that it can be run as a normal user (It doesn't need to mount).
* tests/Makefile.am: Reference it.
* NEWS: Mention the fix.
Reported by Jan Larres.
NEWS
src/remove.c
tests/Makefile.am
tests/rm/one-file-system2 [new file with mode: 0755]