summaryrefslogtreecommitdiff
path: root/ubi-utils/old-utils/testcases.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/old-utils/testcases.txt')
-rw-r--r--ubi-utils/old-utils/testcases.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/ubi-utils/old-utils/testcases.txt b/ubi-utils/old-utils/testcases.txt
new file mode 100644
index 0000000..dcc1c35
--- /dev/null
+++ b/ubi-utils/old-utils/testcases.txt
@@ -0,0 +1,9 @@
+1. Start some large update, but write there byte-by-byte
+
+2. start update for N bytes, write N-x bytes, then write y bytes, y>x.
+ You have to see that at the last write only x bytes were written,
+ but y-x bytes were not. we may vary x a bit. good number would be
+ 1, 128, 128Ki-128...
+
+3. Try to start update for x bytes, write x bytes, then try to write more.
+ Check that it is impossible to write more.