summaryrefslogtreecommitdiffstats
path: root/config-db/t
diff options
context:
space:
mode:
authorOliver Tappe2008-02-09 21:17:10 +0100
committerOliver Tappe2008-02-09 21:17:10 +0100
commit55eba91c566d566b07fccb782ca35e0a829619d5 (patch)
tree04e04c2a7bfbc644ea597415438e8899de18cafa /config-db/t
parent* cmdline options are now collected in a hash instead of individual variables, (diff)
downloadcore-55eba91c566d566b07fccb782ca35e0a829619d5.tar.gz
core-55eba91c566d566b07fccb782ca35e0a829619d5.tar.xz
core-55eba91c566d566b07fccb782ca35e0a829619d5.zip
* dropped attribute ramfs_screen as it is no longer needed (splashy does
not need to be given the screen-size) - updating schema version to 0.25 * little code simplification in DBSchema.pm * removed ramfs_screen from all tests * added method removeAttributeByName() to MetaDB in order to be able to remove attributes from the DB in a simple manner git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1528 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/t')
-rw-r--r--config-db/t/12-system.t2
-rw-r--r--config-db/t/25-attributes.t12
2 files changed, 0 insertions, 14 deletions
diff --git a/config-db/t/12-system.t b/config-db/t/12-system.t
index dc8670de..e16a72d5 100644
--- a/config-db/t/12-system.t
+++ b/config-db/t/12-system.t
@@ -78,7 +78,6 @@ my $fullSystem = {
'ramfs_fsmods' => 'l',
'ramfs_miscmods' => 'm',
'ramfs_nicmods' => 'n',
- 'ramfs_screen' => 'o',
'sane_scanner' => 'p',
'scratch' => 'q',
'slxgrp' => 'r',
@@ -134,7 +133,6 @@ is($system3->{attrs}->{nis_servers}, 'k', 'system 3 - attr ni
is($system3->{attrs}->{ramfs_fsmods}, 'l', 'system 3 - attr ramfs_fsmods');
is($system3->{attrs}->{ramfs_miscmods}, 'm', 'system 3 - attr ramfs_miscmods');
is($system3->{attrs}->{ramfs_nicmods}, 'n', 'system 3 - attr ramfs_nicmods');
-is($system3->{attrs}->{ramfs_screen}, 'o', 'system 3 - attr ramfs_screen');
is($system3->{attrs}->{sane_scanner}, 'p', 'system 3 - attr sane_scanner');
is($system3->{attrs}->{scratch}, 'q', 'system 3 - attr scratch');
is($system3->{attrs}->{slxgrp}, 'r', 'system 3 - attr slxgrp');
diff --git a/config-db/t/25-attributes.t b/config-db/t/25-attributes.t
index 0a83afa9..469d330c 100644
--- a/config-db/t/25-attributes.t
+++ b/config-db/t/25-attributes.t
@@ -17,7 +17,6 @@ my $defaultAttrs = { # mostly copied from DBSchema
'ramfs_fsmods' => undef,
'ramfs_miscmods' => undef,
'ramfs_nicmods' => 'forcedeth e1000 e100 tg3 via-rhine r8169 pcnet32',
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -74,7 +73,6 @@ my $sys3Attrs = {
'ramfs_fsmods' => '-4',
'ramfs_miscmods' => '-3',
'ramfs_nicmods' => '-2',
- 'ramfs_screen' => '-1',
'automnt_dir' => '1',
'automnt_src' => '2',
@@ -132,7 +130,6 @@ my $shouldBeAttrs1 = {
'ramfs_fsmods' => 'squashfs',
'ramfs_miscmods' => undef,
'ramfs_nicmods' => 'forcedeth e1000 r8169',
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -183,7 +180,6 @@ my $shouldBeAttrs3 = {
'ramfs_fsmods' => '-4',
'ramfs_miscmods' => '-3',
'ramfs_nicmods' => '-2',
- 'ramfs_screen' => '-1',
'automnt_dir' => '1',
'automnt_src' => '2',
@@ -280,7 +276,6 @@ $shouldBeAttrs1 = {
'ramfs_fsmods' => undef,
'ramfs_miscmods' => undef,
'ramfs_nicmods' => undef,
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -330,7 +325,6 @@ $shouldBeAttrs3 = {
'ramfs_fsmods' => undef,
'ramfs_miscmods' => undef,
'ramfs_nicmods' => undef,
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -389,7 +383,6 @@ $shouldBeAttrs1 = {
'ramfs_fsmods' => undef,
'ramfs_miscmods' => undef,
'ramfs_nicmods' => undef,
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -439,7 +432,6 @@ $shouldBeAttrs3 = {
'ramfs_fsmods' => undef,
'ramfs_miscmods' => undef,
'ramfs_nicmods' => undef,
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -495,7 +487,6 @@ my $shouldBeAttrs11 = {
'ramfs_fsmods' => 'squashfs',
'ramfs_miscmods' => undef,
'ramfs_nicmods' => 'forcedeth e1000 r8169',
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -545,7 +536,6 @@ my $shouldBeAttrs31 = {
'ramfs_fsmods' => 'squashfs',
'ramfs_miscmods' => undef,
'ramfs_nicmods' => 'forcedeth e1000 r8169',
- 'ramfs_screen' => undef,
'automnt_dir' => undef,
'automnt_src' => undef,
@@ -595,7 +585,6 @@ my $shouldBeAttrs13 = {
'ramfs_fsmods' => '-4',
'ramfs_miscmods' => '-3',
'ramfs_nicmods' => '-2',
- 'ramfs_screen' => '-1',
'automnt_dir' => '1',
'automnt_src' => '2',
@@ -645,7 +634,6 @@ my $shouldBeAttrs33 = {
'ramfs_fsmods' => '-4',
'ramfs_miscmods' => '-3',
'ramfs_nicmods' => '-2',
- 'ramfs_screen' => '-1',
'automnt_dir' => '1',
'automnt_src' => '2',