From bbe7a88cb5fcdeed48154282879fddecaa488c8c Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Sun, 27 Feb 2011 21:20:03 +0000
Subject: [PATCH 21/24] tests/behaviour: Make test 23 more interesting by using different sizes

Test 23 covers basic jtrans_add_[rw], and this patch makes it a little
bit more interesting by making the size of the write operations differ.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 tests/behaviour/t_normal.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/behaviour/t_normal.py b/tests/behaviour/t_normal.py
index a9ba8df..3000892 100644
--- a/tests/behaviour/t_normal.py
+++ b/tests/behaviour/t_normal.py
@@ -370,8 +370,8 @@ def test_n23():
 	n = f.name
 
 	c1 = gencontent(1000)
-	c2 = gencontent(1000)
-	c3 = gencontent(1000)
+	c2 = gencontent(2000)
+	c3 = gencontent(3000)
 
 	buf1 = bytearray(0 for i in range(30))
 	buf2 = bytearray(0 for i in range(100))
@@ -379,7 +379,7 @@ def test_n23():
 	t = jf.new_trans()
 	t.add_w(c1, 0)
 	t.add_r(buf1, 0)
-	t.add_w(c2, len(c2))
+	t.add_w(c2, len(c1))
 	t.add_r(buf2, len(c1) - len(buf2) / 2)
 	t.add_w(c3, len(c1) + len(c2))
 	t.commit()
-- 
1.6.2.2.646.gb214

