diff options
Diffstat (limited to 'tests/ubi-tests')
-rw-r--r-- | tests/ubi-tests/Makefile | 10 | ||||
-rw-r--r-- | tests/ubi-tests/common.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/integ.c | 4 | ||||
-rw-r--r-- | tests/ubi-tests/io_basic.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/io_paral.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/io_read.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/io_update.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/mkvol_bad.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/mkvol_basic.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/mkvol_paral.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/rsvol.c | 2 | ||||
-rw-r--r-- | tests/ubi-tests/volrefcnt.c | 2 |
12 files changed, 17 insertions, 17 deletions
diff --git a/tests/ubi-tests/Makefile b/tests/ubi-tests/Makefile index 0ce99d8..d6be0dc 100644 --- a/tests/ubi-tests/Makefile +++ b/tests/ubi-tests/Makefile @@ -1,9 +1,9 @@ -LIBUBI_PATH=../../ubi-utils/new-utils/ -LIBUBI_SRC_PATH=../../ubi-utils/new-utils/src/ -LIBUBI_HEADER_PATH=../../ubi-utils/new-utils/include -UBIUTILS_PATH=../../ubi-utils/new-utils/ +LIBUBI_PATH=../../ubi-utils/ +LIBUBI_SRC_PATH=../../ubi-utils/src/ +LIBUBI_HEADER_PATH=../../ubi-utils/include +UBIUTILS_PATH=../../ubi-utils/ -LIBUBI_PATH=../../ubi-utils/new-utils/ +LIBUBI_PATH=../../ubi-utils/ KERNELHDR := ../../include LIBS = libubi diff --git a/tests/ubi-tests/common.c b/tests/ubi-tests/common.c index 59b30a7..2381e67 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(1); + libubi = libubi_open(); 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 9958466..bb60bcc 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(1); + libubi = libubi_open(); if (!libubi) error_exit("Failed to open libubi"); @@ -766,7 +766,7 @@ int main(int argc,char *argv[]) reload_ubi(); - libubi = libubi_open(1); + libubi = libubi_open(); 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 819893c..566514c 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(1); + libubi = libubi_open(); 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 ed0cbe0..9d42443 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(1); + libubi = libubi_open(); 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 30d6478..57a8da7 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(1); + libubi = libubi_open(); 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 24c0563..dce4ee2 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(1); + libubi = libubi_open(); 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 4ba4a72..2e3c450 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(1); + libubi = libubi_open(); 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 b2413bc..880c149 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(1); + libubi = libubi_open(); 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 adaa789..74be5fa 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(1); + libubi = libubi_open(); if (libubi == NULL) { failed("libubi_open"); return 1; diff --git a/tests/ubi-tests/rsvol.c b/tests/ubi-tests/rsvol.c index df92015..8ec93bc 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(1); + libubi = libubi_open(); if (libubi == NULL) { failed("libubi_open"); return 1; diff --git a/tests/ubi-tests/volrefcnt.c b/tests/ubi-tests/volrefcnt.c index 8618b2e..a56deae 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(1); + libubi = libubi_open(); if (libubi == NULL) { failed("libubi_open"); return 1; |