-
Notifications
You must be signed in to change notification settings - Fork 66
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
test_dsync: add test_expectfail.sh, test_existence.sh, and stubs for two other tests #596
Conversation
@gonsie @carbonneau1 I intend this to be a template for other tests, so this is a good time to discuss or object to anything about how I implemented these tests - writing tests as shell scripts, the organization of the tests, the fact that they're single-node tests, etc. Thanks! |
Hi @carbonneau1 please see the two new commits, running dsync under "mpirun", and copying a directory tree from /usr/include for use as test data. |
bf5030b
to
0421087
Compare
71b1c88
to
8e76635
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly a cursory overview. I think bash here is fine, since that's the easiest interface.
test/tests/test_dsync/test_data.sh
Outdated
# - file with differing data is not copied if --contents arg is not used and metadata match | ||
# | ||
# Notes: | ||
# - does not test whether data copes are spread across nodes/tasks evenly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# - does not test whether data copes are spread across nodes/tasks evenly | |
# - does not test whether data copies are spread across nodes/tasks evenly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
8e76635
to
10d9b98
Compare
Add a small set of bash functions for performing set operations, for use with dsync tests. Add a small test driver and two data files for testing the bash functions. Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Add the following tests: test_expectfail.sh: add tests for missing source or destination parent test_existence.sh: verify set of files synced is correct Add stubs for the following tests: test_metadata.sh: verify metadata of synced files is correct test_data.sh: verify data in synced files is correct Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
10d9b98
to
91611a2
Compare
Add the following tests:
Add stubs for the following tests:
Add a small set of bash functions for performing set operations, for use with dsync tests.
Add a small test driver and two data files for testing the bash functions.