summaryrefslogtreecommitdiff
path: root/tests/ubi-tests
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-06-04 19:23:52 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-06-04 19:25:00 +0300
commita3b8a2f068bfc13391c6e1d06471f97d4743d398 (patch)
tree1576831d14c3837247146b847ebc5a49ccbb6681 /tests/ubi-tests
parent1fd1b5430221b99e05d4f63693ccb0ec11a4af7c (diff)
ubi-tests: fix compilation
libubi_open interface was changed, but the tests were not amended. Fix this. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests')
-rw-r--r--tests/ubi-tests/common.c2
-rw-r--r--tests/ubi-tests/integ.c4
-rw-r--r--tests/ubi-tests/io_basic.c2
-rw-r--r--tests/ubi-tests/io_paral.c2
-rw-r--r--tests/ubi-tests/io_read.c2
-rw-r--r--tests/ubi-tests/io_update.c2
-rw-r--r--tests/ubi-tests/mkvol_bad.c2
-rw-r--r--tests/ubi-tests/mkvol_basic.c2
-rw-r--r--tests/ubi-tests/mkvol_paral.c2
-rw-r--r--tests/ubi-tests/rsvol.c2
-rw-r--r--tests/ubi-tests/volrefcnt.c2
11 files changed, 12 insertions, 12 deletions
diff --git a/tests/ubi-tests/common.c b/tests/ubi-tests/common.c
index a5064fb..e785b91 100644
--- a/tests/ubi-tests/common.c
+++ b/tests/ubi-tests/common.c
@@ -57,7 +57,7 @@ int __initial_check(const char *test, int argc, char * const argv[])
return -1;
}
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
__failed(test, __FUNCTION__, __LINE__, "libubi_open");
return -1;
diff --git a/tests/ubi-tests/integ.c b/tests/ubi-tests/integ.c
index e8bffab..f78c280 100644
--- a/tests/ubi-tests/integ.c
+++ b/tests/ubi-tests/integ.c
@@ -745,7 +745,7 @@ int main(int argc,char *argv[])
srand(initial_seed);
load_ubi();
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (!libubi)
error_exit("Failed to open libubi");
@@ -766,7 +766,7 @@ int main(int argc,char *argv[])
reload_ubi();
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (!libubi)
error_exit("Failed to open libubi");
diff --git a/tests/ubi-tests/io_basic.c b/tests/ubi-tests/io_basic.c
index 256b71b..e10f8db 100644
--- a/tests/ubi-tests/io_basic.c
+++ b/tests/ubi-tests/io_basic.c
@@ -150,7 +150,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/io_paral.c b/tests/ubi-tests/io_paral.c
index 7b0c3d9..f98618c 100644
--- a/tests/ubi-tests/io_paral.c
+++ b/tests/ubi-tests/io_paral.c
@@ -173,7 +173,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/io_read.c b/tests/ubi-tests/io_read.c
index 57a8da7..30d6478 100644
--- a/tests/ubi-tests/io_read.c
+++ b/tests/ubi-tests/io_read.c
@@ -361,7 +361,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/io_update.c b/tests/ubi-tests/io_update.c
index f7a122e..a86b005 100644
--- a/tests/ubi-tests/io_update.c
+++ b/tests/ubi-tests/io_update.c
@@ -272,7 +272,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/mkvol_bad.c b/tests/ubi-tests/mkvol_bad.c
index 2e3c450..4ba4a72 100644
--- a/tests/ubi-tests/mkvol_bad.c
+++ b/tests/ubi-tests/mkvol_bad.c
@@ -275,7 +275,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/mkvol_basic.c b/tests/ubi-tests/mkvol_basic.c
index 880c149..b2413bc 100644
--- a/tests/ubi-tests/mkvol_basic.c
+++ b/tests/ubi-tests/mkvol_basic.c
@@ -220,7 +220,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/mkvol_paral.c b/tests/ubi-tests/mkvol_paral.c
index 74be5fa..adaa789 100644
--- a/tests/ubi-tests/mkvol_paral.c
+++ b/tests/ubi-tests/mkvol_paral.c
@@ -79,7 +79,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/rsvol.c b/tests/ubi-tests/rsvol.c
index 8ec93bc..df92015 100644
--- a/tests/ubi-tests/rsvol.c
+++ b/tests/ubi-tests/rsvol.c
@@ -276,7 +276,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;
diff --git a/tests/ubi-tests/volrefcnt.c b/tests/ubi-tests/volrefcnt.c
index a56deae..8618b2e 100644
--- a/tests/ubi-tests/volrefcnt.c
+++ b/tests/ubi-tests/volrefcnt.c
@@ -49,7 +49,7 @@ int main(int argc, char * const argv[])
node = argv[1];
- libubi = libubi_open();
+ libubi = libubi_open(1);
if (libubi == NULL) {
failed("libubi_open");
return 1;