mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fix 021 for varying amts of whitespace in wc output
fix 021 for varying amts of whitespace in wc output
This commit is contained in:
@@ -128,7 +128,8 @@ head -1 $tmp.hahahahaplonk
|
||||
# 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 }'`
|
||||
|
||||
Reference in New Issue
Block a user