Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test-harness
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ BASE_DIR = os.path.dirname(__file__)
SYSTEM = platform.system().lower()

DEFAULT_ENCODING = sys.stdout.encoding
if DEFAULT_ENCODING != 'UTF-8':
print('Default encoding is %s: use with caution, UTF-8 is recommended', file=sys.stderr)
if DEFAULT_ENCODING.upper() != 'UTF-8':
print('Default encoding is %s: use with caution, UTF-8 is recommended' % DEFAULT_ENCODING, file=sys.stderr)


def run_version_suite(test_program_argv, version_dir):
Expand Down
2 changes: 2 additions & 0 deletions v0.97/valid/local-fetch/bag-info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bag-Software-Agent: bagit-create 0.1.1 <https://github.com/cerndigitalmemory/bagit-create>
Bagging-Date: 2021-11-18
2 changes: 2 additions & 0 deletions v0.97/valid/local-fetch/bagit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BagIt-Version: 0.97
Tag-File-Character-Encoding: UTF-8
Empty file.
1 change: 1 addition & 0 deletions v0.97/valid/local-fetch/fetch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file:///home/avivace/cern/example_bags/source/sachiel.png 42000 sachiel.png
Empty file.