(afsrights2nnpfsrights): export
[arla.git] / tests / fcachesize-file-small
blob62800c1a219704ab53b55cdbe09478e693b9053c
1 #!/bin/sh
2 # $Id$
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
13 exit 0