diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-01-10 05:49:42 +0100 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-01-10 00:00:25 -0800 |
commit | 12022fc87ee6b12c07bff0381701e2977e722382 (patch) | |
tree | 7ca735936ce56b5bc587afeb6393b69f4f64c905 /tests/basic/quota-nfs.t | |
parent | 548547b2e41c8e2cf79b929405cf18aecbdedebc (diff) |
Spare spurious regression in quota.t
Like quota-nfs.t, quota.t shows spurious regressions because dd
writes too fast. Reuse the C program used by quota-nfs.t to
write slowly, and rename it to show it is not specific to quota-nfs.t
BUG: 1129939
Change-Id: I14b50e368023e88dc8bcc76c266cc908d62f89e2
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9410
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic/quota-nfs.t')
-rwxr-xr-x | tests/basic/quota-nfs.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/quota-nfs.t b/tests/basic/quota-nfs.t index 501d8ab6381..ea1fce93a3e 100755 --- a/tests/basic/quota-nfs.t +++ b/tests/basic/quota-nfs.t @@ -41,9 +41,9 @@ TEST dd if=/dev/zero of=$N0/$deep/newfile_1 bs=512 count=10240 EXPECT_WITHIN $MARKER_UPDATE_TIMEOUT "15.0MB" usage "/" # compile the test write program and run it -TEST $CC $(dirname $0)/quota-nfs.c -o $(dirname $0)/quota-nfs; +TEST $CC $(dirname $0)/quota.c -o $(dirname $0)/quota; # Try to create a 100Mb file which should fail -TEST ! $(dirname $0)/quota-nfs $N0/$deep/newfile_2 "104857600" +TEST ! $(dirname $0)/quota $N0/$deep/newfile_2 "104857600" TEST rm -f $N0/$deep/newfile_2 ## Before killing daemon to avoid deadlocks |