From 5b6741bfebbde9ce1adff66d7fb49dfd0b5c6175 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Sun, 31 Jul 2005 21:05:38 +0000 Subject: [PATCH] Ensure that the test would fail if -inum just always returned true --- find/testsuite/find.gnu/inum.exp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/find/testsuite/find.gnu/inum.exp b/find/testsuite/find.gnu/inum.exp index 2bdf1c0e..75614f51 100644 --- a/find/testsuite/find.gnu/inum.exp +++ b/find/testsuite/find.gnu/inum.exp @@ -1,7 +1,7 @@ # test for -inum -exec rm -rf tmp -exec touch tmp +exec rm -rf tmp tmp2 +exec touch tmp tmp2 set list [ split [ exec ls -1i tmp ] ] set inode [ lindex $list 0 ] -find_start p " tmp -inum $inode -print " -exec rm -rf tmp +find_start p " tmp tmp2 -inum $inode -print " +exec rm -rf tmp tmp2