afscp: Add -l option
[openafs.git] / src / tests / fcachesize-dir
1 #!/bin/sh
2 # $Id$
3
4 FS=${FS:-${objdir}/../appl/fs/fs}
5 SIZE1=`$FS getcache -b | awk '{ print $4 ; exit }'`
6 mkdir foo
7 SIZE2=`$FS getcache -b | awk '{ print $4 ; exit }'`
8 test $SIZE2 = `expr $SIZE1 + 2048` || exit 1
9 rmdir foo
10 #SIZE3=`$FS getcache -b | awk '{ print $4 ; exit }'`
11 #test $SIZE3 = $SIZE1 || exit 1
12
13 exit 0