diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-11-30 18:26:17 +0100 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-12-03 10:13:51 -0800 |
commit | 2ca5b712f93dde62aadbf34f954ad53089490ded (patch) | |
tree | 5411e1f34627f537dc6353506b0d3d772b4f4f67 /tests/include.rc | |
parent | 8261f0deb9bf75611135a6571bc4d9cef687ad37 (diff) |
Regression test portability: basic/file-snapshot.t
- For some odd reason, setfattr(1) could fail on big-file just after
it was created by touch(1). Add a test in between to wait for the
file to be visible by ls(1).
- After switching to a snapshot, the file content is still in kernel
cache, and the old content may be readen for a few seconds after
the snapshot switch. Use ( cd $M0 && umount $M0 ) to flush vnodes
and therefore invalidate the cache.
- Unmount the mount point at the end of the test for the cleanliness
sake.
BUG: 1129939
Change-Id: I5a0d14db13e79323147761dfe50c41ae6a1cb844
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9220
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/include.rc')
0 files changed, 0 insertions, 0 deletions