Skip to content

Commit

Permalink
tests: Write tape with capital t (as per docs)
Browse files Browse the repository at this point in the history
Since the documentation uses capital letters our tests should reflect
that so that we do not miss any bugs that get introduced by this
discrepancy.
  • Loading branch information
sebsura authored and arogge committed Mar 2, 2023
1 parent 946143a commit 2c620ad
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device {
Name = tape1
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = /dev/null
LabelMedia = yes
Random Access = yes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device {
Name = auto1dev0
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = .
LabelMedia = yes
Random Access = yes
Expand All @@ -28,7 +28,7 @@ Device {
Device {
Name = auto1dev2
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = .
LabelMedia = yes
Random Access = yes
Expand All @@ -41,7 +41,7 @@ Device {
Device {
Name = auto1dev3
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = .
LabelMedia = yes
Random Access = yes
Expand All @@ -54,7 +54,7 @@ Device {
Device {
Name = auto1dev4
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = .
LabelMedia = yes
Random Access = yes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Device {
Name = single2
Media Type = NotFile
Archive Device = .
Device Type = tape
Device Type = Tape
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device {
Name = tape1
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = /dev/null
LabelMedia = yes
Random Access = yes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device {
Name = tape1
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = /dev/null
LabelMedia = yes
Random Access = yes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Device {
Name = tape1
Media Type = File
Device Type = tape
Device Type = Tape
Archive Device = /dev/null
LabelMedia = yes
Random Access = yes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# BAREOS® - Backup Archiving REcovery Open Sourced
#
# Copyright (C) 2021-2021 Bareos GmbH & Co. KG
# Copyright (C) 2021-2023 Bareos GmbH & Co. KG
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -86,7 +86,7 @@ EOF
cat << EOF >> "${tape_device_conf_file}"
Device {
Name = "${bareos_tape_device_name}"
DeviceType = tape
DeviceType = Tape
DriveIndex = ${drive_index}
Expand Down
4 changes: 2 additions & 2 deletions systemtests/tests/block-size/create_autochanger_configs.sh.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# BAREOS® - Backup Archiving REcovery Open Sourced
#
# Copyright (C) 2021-2021 Bareos GmbH & Co. KG
# Copyright (C) 2021-2023 Bareos GmbH & Co. KG
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -86,7 +86,7 @@ EOF
cat << EOF >> "${tape_device_conf_file}"
Device {
Name = "${bareos_tape_device_name}"
DeviceType = tape
DeviceType = Tape
DriveIndex = ${drive_index}
ArchiveDevice = ${tape_device}
MediaType = LTO
Expand Down

0 comments on commit 2c620ad

Please sign in to comment.