fix dumptool on macos
[openafs.git] / src / tests / fcachesize-file-small
1 #!/bin/sh
2 # $Id$
3
4 FS=${FS:-${objdir}/../appl/fs/fs}
5 SIZE1=`$FS getcache -b | awk '{ print $4 ; exit }'`
6 echo foo > foo
7 SIZE2=`$FS getcache -b | awk '{ print $4 ; exit }'`
8 test $SIZE2 = `expr $SIZE1 + 4` || exit 1
9 rm foo
10 #SIZE3=`$FS getcache -b | awk '{ print $4 ; exit }'`
11 #test $SIZE3 = $SIZE1 || exit 1
12
13 exit 0