diff options
author | hansp <hansp> | 2001-03-29 20:34:32 +0000 |
---|---|---|
committer | hansp <hansp> | 2001-03-29 20:34:32 +0000 |
commit | c683479a36fab8a8588600c5d48940debbeed512 (patch) | |
tree | 7297373df49623652aad88af16ccedbacfe4f5fb /test.pl | |
parent | 13085c146edaf5344e640ba96ebb6ad07d06ced3 (diff) |
Test to accompany the the fstab reader.
Diffstat (limited to 'test.pl')
-rwxr-xr-x | test.pl | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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"); |