Q. I'm confused about how the TA will be able to test project #3. Since the code will test to make sure the user of the program is one authorized to copy files, and the two copies of the program will have to be compiled by the specific users involved to work, it would seem that he won't be able to access the functionality without logging in as one of those two users.
How can I design my program so that he will be able to use for testing, in addition to the other two users?
A. Good question. The answer is that when he gets the project
submission in email, he can save it and untar it so that he is the owner of
the files. Then he can edit the file containing the group members to
include a second account that he will use for testing. Then, from the
second account, he can run teamsync
and see if it
works.