diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-15 19:06:25 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-15 19:06:25 +0200 |
commit | fd98ff924d71061a062b813cb784f83e4c89401f (patch) | |
tree | 8bd2e844900940bc401055e3d5a11d12c4fe628a /ubi-utils/tests/runtests.pl | |
parent | 7205454f401c2ca563ecdca87e254ee5d990bd00 (diff) |
ubi-utils: clean-up UBI tests
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/tests/runtests.pl')
-rwxr-xr-x | ubi-utils/tests/runtests.pl | 30 |
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"; -} |