mirror of
https://github.com/ceph/ceph
synced 2024-12-11 14:09:09 +00:00
14 lines
178 B
Bash
Executable File
14 lines
178 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
mkdir .snap/foo
|
|
|
|
echo "We want ENOENT, not ESTALE, here."
|
|
for f in `seq 1 100`
|
|
do
|
|
stat .snap/foo/$f 2>&1 | grep 'No such file'
|
|
done
|
|
|
|
rmdir .snap/foo
|
|
|
|
echo "OK"
|