#!/bin/sh # $KTH: fcachesize-file-small,v 1.3 2000/06/10 09:17:10 assar Exp $ FS=${FS:-${objdir}/../appl/fs/fs} SIZE1=`$FS getcache -b | awk '{ print $4 ; exit }'` echo foo > foo SIZE2=`$FS getcache -b | awk '{ print $4 ; exit }'` test $SIZE2 = `expr $SIZE1 + 4` || exit 1 rm foo #SIZE3=`$FS getcache -b | awk '{ print $4 ; exit }'` #test $SIZE3 = $SIZE1 || exit 1 exit 0