Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torture-testing Backup and Archive Programs: Things You Ought to Know But Probably Would Rather Not #193

Open
braian87b opened this issue Jan 27, 2020 · 3 comments

Comments

@braian87b
Copy link

to see: http://www.coredumps.de/doc/dump/zwicky/testdump.doc.html

@reactive-firewall
Copy link

Oh this looks fun ... I'll see about hacking out a test script for these if no one else is working on it
🤔 ... um ... but first ... IS anyone already working on this? ... if so stop me from re-inventing

@reactive-firewall
Copy link

reactive-firewall commented Mar 19, 2020

I think this calls for some CI testing (🎉 I'm so excited)

So that it's documented somewhere:

CI Testing is great for ensuring code works and changes don't introduce regressions to tested code (caveat: test coverage)

Issues that this could help:

most basic test logic:

  • use github's actions (I'm on it)

Tests to start creating:

  • Static tests:
    • A file with a large hole in it.
    • A file that contains a hole and a block's worth of nulls.
    • Files with funny characters in their file names.
    • 1025 hard links to the same file.
    • 2911 hard links to different files.
    • Files with long names.
    • Symbolic links to long names.
    • Symbolic links to names with funny characters in them.
    • Unreadable and unwriteable files.
    • Unreadable and unwriteable directories with normal files in them.
    • A named pipe.
    • A device.

@reactive-firewall
Copy link

😥 No one stopped me before I got to starting on this issue .... 🤓 SO I prepared a PR #205 for testing ... reviews welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants