fix 021 for varying amts of whitespace in wc output
# print out the rest of the data apart from the header
# the size is +1 for an extra \n at the end
echo -n "size of attr value = "
# print out the rest of the data apart from the header
# the size is +1 for an extra \n at the end
echo -n "size of attr value = "
-_attr -g "a3" $testfile.2 | tail -3 | wc -c
+# wc inserts different amounts of whitespace in front...
+_attr -g "a3" $testfile.2 | tail -3 | wc -c | sed -e "s/^ *//"
echo ""
inum_2=`ls -li $testfile.2 | $AWK_PROG '{ print $1 }'`
echo ""
inum_2=`ls -li $testfile.2 | $AWK_PROG '{ print $1 }'`
user.a3
Attribute "a3" had a 65535 byte value for <TESTFILE>.2:
user.a3
Attribute "a3" had a 65535 byte value for <TESTFILE>.2:
-size of attr value = 65536
+size of attr value = 65536
*** unmount FS
*** dump attributes (1)
*** unmount FS
*** dump attributes (1)