X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=test-gearman.sh;fp=test-gearman.sh;h=01eee6e2fc3e8d22b82238904d35adcc1d4748cf;hb=f4bf6afc4a140ea63d66c30e4cca008e130d8be2;hp=0000000000000000000000000000000000000000;hpb=1dea23b598b595692fd5110044d23638e498945c;p=cloudstore.git diff --git a/test-gearman.sh b/test-gearman.sh new file mode 100755 index 0000000..01eee6e --- /dev/null +++ b/test-gearman.sh @@ -0,0 +1,13 @@ +#!/bin/sh -xe + +#echo 'dpavlin@gmail.com password 100M' | gearman -f create_user -n + +sudo -u u2001 sh -cx "ps ax > ~u2001/foo.txt" + +echo '~u2001/foo.txt#~u2002/dir with space/file with space' | gearman -f send_file -n + +echo '~u2002/dir with space/file with space' | gearman -f delete -n + +echo u2001 | gearman -f zfs_userquota -n +echo u2001 | gearman -f zfs_userused -n +echo u2001 | gearman -f zfs_userspace -n