test: define tape tests as submodule
This commit is contained in:
parent
988e8de122
commit
cc2a0b12f8
|
@ -7,6 +7,9 @@ use proxmox::tools::fs::{
|
||||||
CreateOptions,
|
CreateOptions,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod test;
|
||||||
|
|
||||||
pub mod file_formats;
|
pub mod file_formats;
|
||||||
|
|
||||||
mod tape_write;
|
mod tape_write;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Tape inventory tests
|
// Tape inventory tests
|
||||||
//
|
//
|
||||||
// # cargo test --release --test tape-inventory
|
// # cargo test --release tape::test::inventory
|
||||||
|
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use anyhow::{bail, Error};
|
use anyhow::{bail, Error};
|
||||||
|
@ -9,7 +9,7 @@ use proxmox::tools::{
|
||||||
Uuid,
|
Uuid,
|
||||||
};
|
};
|
||||||
|
|
||||||
use proxmox_backup::{
|
use crate::{
|
||||||
tape::{
|
tape::{
|
||||||
Inventory,
|
Inventory,
|
||||||
file_formats::{
|
file_formats::{
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
mod inventory;
|
Loading…
Reference in New Issue