Closed
Description
Currently tests throw an exception:
./tests.sh
Create subvolume './btrfs-diff-tests'
Create a readonly snapshot of './btrfs-diff-tests' in './btrfs-diff-tests.parent'
ERROR: Could not open: No such file or directory
~/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-diff-tests ~/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff
~/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff
Create a readonly snapshot of './btrfs-diff-tests' in './btrfs-diff-tests.child'
btrfs-snapshots-diff.py normal output:
======================================
File "/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-snapshots-diff.py", line 97
raise ValueError(f'Unexpected attribute {self.send_attrs[attr]}')
^
SyntaxError: invalid syntax
btrfs-snapshots-diff.py CSV output:
===================================
File "/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-snapshots-diff.py", line 97
raise ValueError(f'Unexpected attribute {self.send_attrs[attr]}')
^
SyntaxError: invalid syntax
btrfs-snapshots-diff.py JSON output:
====================================
./tests.sh: line 51: jq: command not found
File "/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-snapshots-diff.py", line 97
raise ValueError(f'Unexpected attribute {self.send_attrs[attr]}')
^
SyntaxError: invalid syntax
Delete subvolume (commit): '/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-diff-tests'
Delete subvolume (commit): '/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-diff-tests.parent'
Delete subvolume (commit): '/home/ceremcem/.sbin/erik-sync/smith-sync/btrfs-snapshots-diff/btrfs-diff-tests.child'
Metadata
Metadata
Assignees
Labels
No labels