everything uses yaml for now
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Oct 2007 21:25:08 +0000 (21:25 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 26 Oct 2007 21:25:08 +0000 (21:25 +0000)
git-svn-id: https://perl-cwmp.googlecode.com/svn/branches/store-pluggable@137 836a5e1a-633d-0410-964b-294494ad4392

Makefile.PL
bin/acs.pl
t/05-store.t

index 68a498d..2901ef7 100644 (file)
@@ -23,7 +23,7 @@ requires      'Module::Pluggable';
 build_requires 'Test::More';
 
 my_targets();
 build_requires 'Test::More';
 
 my_targets();
-clean_files('dump/*');
+clean_files('dump/* yaml state.db');
 
 auto_install;
 
 
 auto_install;
 
index 01d2c5f..6956123 100755 (executable)
@@ -21,7 +21,8 @@ GetOptions(
 my $server = CWMP::Server->new({
        port => $port,
        store => {
 my $server = CWMP::Server->new({
        port => $port,
        store => {
-               module => 'DBMDeep',
+#              module => 'DBMDeep',
+               module => 'YAML',
                store_path => 'state.db',
        },
        debug => $debug,
                store_path => 'state.db',
        },
        debug => $debug,
index fc848d1..e458d42 100755 (executable)
@@ -23,7 +23,8 @@ unlink $path if -e $path;
 
 ok( my $store = CWMP::Store->new({
        debug => $debug,
 
 ok( my $store = CWMP::Store->new({
        debug => $debug,
-       module => 'DBMDeep',
+#      module => 'DBMDeep',
+       module => 'YAML',
        path => $path,
 }), 'new' );
 isa_ok( $store, 'CWMP::Store' );
        path => $path,
 }), 'new' );
 isa_ok( $store, 'CWMP::Store' );