#!/bin/sh # $KTH: fcachesize-dir,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 }'` mkdir foo SIZE2=`$FS getcache -b | awk '{ print $4 ; exit }'` test $SIZE2 = `expr $SIZE1 + 2048` || exit 1 rmdir foo #SIZE3=`$FS getcache -b | awk '{ print $4 ; exit }'` #test $SIZE3 = $SIZE1 || exit 1 exit 0