ceph/qa/workunits/snaps/snaptest-0.sh
Sage Weil f2aef3e1da qa: organize workunits a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00

17 lines
189 B
Bash
Executable File

#!/bin/sh -x
set -e
echo asdf > foo
mkdir .snap/foo
grep asdf .snap/foo/foo
rmdir .snap/foo
echo asdf > bar
mkdir .snap/bar
rm bar
grep asdf .snap/bar/bar
rmdir .snap/bar
rm foo
echo OK