--- testfs.sh-0.16 2007-07-19 13:15:49.000000000 -0400 +++ testfs.sh-0.15.5 2007-07-19 11:52:14.000000000 -0400 @@ -215,9 +215,11 @@ for x in 0 1 2; do ln "$file" "$file.$x" go_xid $x chmod +x "$file.$x" - local rc=$? + local rcb=$? + cmp "$file" "$file.$x" + local rcc=$? rm -f "$file.$x" - [ $rc -eq 0 ] && xx="$xx." || xx="$xx^" + [ $rcb -eq 0 -a $rcc -eq 0 ] && xx="$xx." || xx="$xx^" done [ "$xx" == "$1" ] || { ret=1; eecho $eR "\tiunlink chmod $file: [$xx:$1]" 1>&3; }