ceph/qa/workunits/snap_simple_races.sh

15 lines
174 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