summaryrefslogtreecommitdiff
path: root/test.pl
diff options
context:
space:
mode:
authorhansp <hansp>2001-03-29 20:34:32 +0000
committerhansp <hansp>2001-03-29 20:34:32 +0000
commitc683479a36fab8a8588600c5d48940debbeed512 (patch)
tree7297373df49623652aad88af16ccedbacfe4f5fb /test.pl
parent13085c146edaf5344e640ba96ebb6ad07d06ced3 (diff)
Test to accompany the the fstab reader.
Diffstat (limited to 'test.pl')
-rwxr-xr-xtest.pl11
1 files changed, 8 insertions, 3 deletions
diff --git a/test.pl b/test.pl
index 47c61db..a4d860f 100755
--- a/test.pl
+++ b/test.pl
@@ -1,12 +1,12 @@
#!/usr/bin/env perl
-require "be.pl";
require "media.pl";
require "network.pl";
+require "parse.pl";
require "debug.pl";
-@platforms = ( "redhat-6.2" );
+@platforms = ( "redhat-6.2", "redhat-7.0" );
&xst_init ("test", "0.0.0", "Test script.", @ARGV);
@@ -92,8 +92,13 @@ sub test_interfaces
# ---
-&test_interfaces();
+@arr = &xst_parse_fstab ("/etc/fstab");
+print @arr[0] . "\n";
+
+&xst_debug_print_struct (@arr);
+
+# &test_interfaces();
# &test_media();
# be_service_enable(90, "-d pekk", "samba", "smbd", "smb", "httpd");