4de1c42c20
tape: rust fmt
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2022-04-10 17:49:03 +02:00
645d52308b
TimeSpan: parse via FromStr
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-12-30 15:02:07 +01:00
aa174e8e8a
tree-wide: drop redundant clones
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com >
2021-12-30 15:02:07 +01:00
68b6c1202c
remove use of deprecated functions from proxmox-time
...
Depend on proxmox-time 1.1.1
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com >
2021-12-01 07:23:18 +01:00
15cc41b6cb
proxmox-systemd: remove crate, use new proxmox-time 1.1.0 instead
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com >
2021-11-17 13:07:51 +01:00
6ef1b649d9
update to first proxmox crate split
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-10-11 11:58:49 +02:00
84af82e8cf
rename pbs-systemd to proxmox-systemd
2021-09-21 10:06:27 +02:00
67a5cf4714
fix regression tests
2021-09-10 12:45:06 +02:00
42dad3abd3
fixup imports in tests and examples
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
2021-09-01 12:32:21 +02:00
d19010481d
tape/test: repair tests after changing 'start_write_session'
...
i added a parameter and forgot to adapt the tests
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
2021-05-14 10:01:54 +02:00
c046739461
tape: fix MediaPool regression tests
2021-03-24 09:44:30 +01:00
d1d74c4367
typo fixes all over the place
...
found and semi-manually replaced by using:
codespell -L mut -L crate -i 3 -w
Mostly in comments, but also email notification and two occurrences
of misspelled 'reserved' struct member, which where not used and
cargo build did not complain about the change, soo ...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
2021-03-10 16:39:57 +01:00
cd5d6103ea
tape: fix media_expire_time
2021-03-04 16:58:24 +01:00
1bed3aedc8
tape: fix wrong media set expire time
2021-03-04 12:38:28 +01:00
8b910bb6bc
tape: add regression test for compute_media_state
2021-02-17 06:57:29 +01:00
dbaef7d04d
tape: add regression test for alloc_writable_media
2021-02-17 06:55:49 +01:00
ced7838de4
tape: fix path for test files
2021-02-06 09:32:50 +01:00
cdf39e62b3
tape: MediaPool - replace use_offline_media with changer_name
...
This way, we can improve location_is_available, because we only
consider media from that changer as available.
2021-02-04 10:15:18 +01:00
b22e8c3632
tape: add media pool regression tests
2021-02-03 10:23:04 +01:00
7929292618
tape: add regresion test for media state
2021-02-03 09:34:31 +01:00
cc2a0b12f8
test: define tape tests as submodule
2021-02-02 14:38:15 +01:00