-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestcases.txt
34 lines (31 loc) · 854 Bytes
/
testcases.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Testcase is as follows
NOTE: ./WTFtest closes the server and
First case:
1. ./WTFserver <port that is open>
2. destroy project (incase WTFtest is being run back to back being run back to back)
3. create project
4. mkdir project/folder/ && touch project/folder/file1 && echo some string of text > project/folder/file1
5. add project folder/file1
6. commit
7. push
8. touch ./project/file2 && add project file2 (empty file)
9. commit
10. push
11. echo more text again > file3
12. cp ./project/.Manifest ./ (copy the manifest, so we can test update/upgrade later)
13. add project file3
14. commit
15. push
16. mv ./.Manifest ./project/.Manifest (overwrite manifest with old version)
17. update
18. upgrade
19. rollback 3
20. history
History should be the following:
2
A project/folder/file1
3
A project/file2
4
A project/file3
Rolled back to version 3