summaryrefslogtreecommitdiff
path: root/ubi-utils/tests/runtests.pl
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 17:17:44 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-19 17:17:44 +0200
commit238050eeebb0389ecdc5fe3c016194b287a30100 (patch)
tree9d6e12fb0657bc0c86ba13c2516d32e80acff02b /ubi-utils/tests/runtests.pl
parent86dd9696d3a1acb036d65909d93d73455b8aed3a (diff)
Remove redundant tests
Sorry for this mess in the history, but I hope this is the last ugly commit. I accidentally copies the tests from mtd-utils.git/tests/ubi-tests/ to here. Remove them. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/tests/runtests.pl')
-rwxr-xr-xubi-utils/tests/runtests.pl30
1 files changed, 0 insertions, 30 deletions
diff --git a/ubi-utils/tests/runtests.pl b/ubi-utils/tests/runtests.pl
deleted file mode 100755
index 8005716..0000000
--- a/ubi-utils/tests/runtests.pl
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/usr/bin/perl -w
-
-sub usage;
-
-my @tests = ("mkvol_basic", "mkvol_bad", "mkvol_paral", "rsvol",
- "io_basic", "io_read", "io_update", "io_paral");
-
-if (not defined @ARGV) {
- usage();
- exit;
-}
-
-foreach (@ARGV) {
- -c or die "Error: $_ is not character device\n";
-}
-
-my $dev;
-foreach $dev (@ARGV) {
- foreach (@tests) {
- print "Running: $_ $dev";
- system "./$_ $dev" and die;
- print "\tSUCCESS\n";
- }
-}
-
-sub usage
-{
- print "Usage:\n";
- print "$0 <UBI device 1> <UBI device 2> ...\n";
-}