tests: fix false rm -I test failure when run as root
commit65f8a39d90dd223e52c1077a6a37eabf05e95e21
authorPádraig Brady <P@draigBrady.com>
Fri, 15 Nov 2013 18:16:54 +0000 (15 18:16 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 18 Nov 2013 01:30:19 +0000 (18 01:30 +0000)
tree87e513c09b10d5ab31a74684b1996066fe802905
parent4e37fc642f6dfda7b7d78531420355c9ad3a824d
tests: fix false rm -I test failure when run as root

Fix a recent regression introduced in commit v8.21-127-g5ee7d8f

Also related to this is the recent query about root run `rm -I`
ignoring the mode bits of a file: https://bugzilla.redhat.com/1013171

* tests/rm/interactive-once.sh: Avoid the messages and
corresponding file presence checks with write protected files
when running as root.
tests/rm/interactive-once.sh