Ensure that the test would fail if -inum just always returned true

This commit is contained in:
James Youngman
2005-07-31 21:05:38 +00:00
parent 28ee86c7e8
commit 5b6741bfeb

View File

@@ -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