Skip to content

Commit

Permalink
remove dump fixture for now
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Dec 2, 2024
1 parent 76fc313 commit 4bfd591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/backup_restore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use predicates::prelude::{predicate, PredicateBooleanExt};
mod repositories;
use repositories::src_snapshot;

use rustic_testing::{files_differ, TestResult};
use rustic_testing::TestResult;

pub fn rustic_runner(temp_dir: &TempDir) -> TestResult<Command> {
let password = "test";
Expand Down Expand Up @@ -105,10 +105,6 @@ fn test_backup_and_check_passes() -> TestResult<()> {
Ok(())
}

fn fixture_test_tar() -> PathBuf {
["tests", "dump-fixtures", "test.tar"].iter().collect()
}

#[test]
fn test_backup_and_restore_passes() -> TestResult<()> {
let temp_dir = setup()?;
Expand Down Expand Up @@ -154,7 +150,7 @@ fn test_backup_and_restore_passes() -> TestResult<()> {
.assert()
.success();
}
assert!(!files_differ(fixture_test_tar(), dump_tar_file)?);
// TODO: compare dump output with fixture

Ok(())
}
Binary file removed tests/dump-fixtures/test.tar
Binary file not shown.

0 comments on commit 4bfd591

Please sign in to comment.