1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/testprogs/blackbox/dfree.sh
Uri Simchoni 3e1b26bd6d selftest: more dfree command and smbclient disk usage tests
Add tests that cover disk usage printing by smbclient, as well
as passing directory info to the "dfree command" script.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11662

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  6 03:58:59 CET 2016 on sn-devel-144
2016-01-06 03:58:59 +01:00

9 lines
148 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "." ] ; then
echo "1000 10 2048"
elif [ "$1" = "subdir1" ] ; then
echo "2000 20 4096"
else
echo "4000 40 8192"
fi