aboutsummaryrefslogtreecommitdiff
path: root/integration_tests/example_filesystems
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-06-06 23:57:42 +0200
committerJakob Unterwurzacher2016-06-07 00:08:56 +0200
commitc2a5303eebc84d616072163f74eef8483c9f5386 (patch)
tree181ffdbb956eb76351d137a4fa9f52ed98b8f242 /integration_tests/example_filesystems
parent0f4d3501369e13c8ba6ee4c9fc7df02a3cc698b1 (diff)
tests: split example_filesystems into its own package
Running these tests from integration_tests' TestMain() was awkward because they were run twice with unchanged settings. integration_tests tests everything with OpenSSL and with native Go crypto, but this does not take affect for the example filesystems. To make this work, test_helpers is also split into its own package.
Diffstat (limited to 'integration_tests/example_filesystems')
l---------integration_tests/example_filesystems/abs1
l---------integration_tests/example_filesystems/rel1
-rw-r--r--integration_tests/example_filesystems/status.txt1
-rw-r--r--integration_tests/example_filesystems/v0.4/3-HZSwv99agoWgTErV0YFQ==bin56 -> 0 bytes
l---------integration_tests/example_filesystems/v0.4/6hL2fPVB2aMSh4-UoDn5Kw==1
l---------integration_tests/example_filesystems/v0.4/TBIgdfhDKwkXVTnWLVzFSg==1
-rw-r--r--integration_tests/example_filesystems/v0.4/gocryptfs.conf12
l---------integration_tests/example_filesystems/v0.5/AOtl_i4xQWDyG0_zUqntOw==1
l---------integration_tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ==1
-rw-r--r--integration_tests/example_filesystems/v0.5/gocryptfs.conf14
-rw-r--r--integration_tests/example_filesystems/v0.5/gocryptfs.diriv1
-rw-r--r--integration_tests/example_filesystems/v0.5/j2BpGUT5kOtia20PWQ2rEA==bin56 -> 0 bytes
l---------integration_tests/example_filesystems/v0.6-plaintextnames/abs1
-rw-r--r--integration_tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf14
l---------integration_tests/example_filesystems/v0.6-plaintextnames/rel1
-rw-r--r--integration_tests/example_filesystems/v0.6-plaintextnames/status.txtbin56 -> 0 bytes
l---------integration_tests/example_filesystems/v0.6/9pOs0yjJI5A67pv5CnqomQ==1
l---------integration_tests/example_filesystems/v0.6/G79Zdu41H3bgwdaQlrz-dg==1
-rw-r--r--integration_tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ==bin56 -> 0 bytes
-rw-r--r--integration_tests/example_filesystems/v0.6/gocryptfs.conf15
-rw-r--r--integration_tests/example_filesystems/v0.6/gocryptfs.diriv1
l---------integration_tests/example_filesystems/v0.7/4tRF1LdULRFLiXwfze671Q==1
-rw-r--r--integration_tests/example_filesystems/v0.7/RWPXmXkRFrWw1aOpq7C-NQ==bin60 -> 0 bytes
l---------integration_tests/example_filesystems/v0.7/dwPcZNei4HN4qPA6FxoG_A==1
-rw-r--r--integration_tests/example_filesystems/v0.7/gocryptfs.conf16
-rw-r--r--integration_tests/example_filesystems/v0.7/gocryptfs.diriv1
l---------integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA==1
-rw-r--r--integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg==bin60 -> 0 bytes
-rw-r--r--integration_tests/example_filesystems/v0.9/gocryptfs.conf17
-rw-r--r--integration_tests/example_filesystems/v0.9/gocryptfs.diriv1
-rw-r--r--integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=bin60 -> 0 bytes
-rw-r--r--integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name1
l---------integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==1
33 files changed, 0 insertions, 108 deletions
diff --git a/integration_tests/example_filesystems/abs b/integration_tests/example_filesystems/abs
deleted file mode 120000
index e1740fa..0000000
--- a/integration_tests/example_filesystems/abs
+++ /dev/null
@@ -1 +0,0 @@
-/a/b/c/d \ No newline at end of file
diff --git a/integration_tests/example_filesystems/rel b/integration_tests/example_filesystems/rel
deleted file mode 120000
index 8279c75..0000000
--- a/integration_tests/example_filesystems/rel
+++ /dev/null
@@ -1 +0,0 @@
-status.txt \ No newline at end of file
diff --git a/integration_tests/example_filesystems/status.txt b/integration_tests/example_filesystems/status.txt
deleted file mode 100644
index 68300b8..0000000
--- a/integration_tests/example_filesystems/status.txt
+++ /dev/null
@@ -1 +0,0 @@
-It works!
diff --git a/integration_tests/example_filesystems/v0.4/3-HZSwv99agoWgTErV0YFQ== b/integration_tests/example_filesystems/v0.4/3-HZSwv99agoWgTErV0YFQ==
deleted file mode 100644
index 5d0af82..0000000
--- a/integration_tests/example_filesystems/v0.4/3-HZSwv99agoWgTErV0YFQ==
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.4/6hL2fPVB2aMSh4-UoDn5Kw== b/integration_tests/example_filesystems/v0.4/6hL2fPVB2aMSh4-UoDn5Kw==
deleted file mode 120000
index 31b9013..0000000
--- a/integration_tests/example_filesystems/v0.4/6hL2fPVB2aMSh4-UoDn5Kw==
+++ /dev/null
@@ -1 +0,0 @@
-3-HZSwv99agoWgTErV0YFQ== \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.4/TBIgdfhDKwkXVTnWLVzFSg== b/integration_tests/example_filesystems/v0.4/TBIgdfhDKwkXVTnWLVzFSg==
deleted file mode 120000
index 7a15694..0000000
--- a/integration_tests/example_filesystems/v0.4/TBIgdfhDKwkXVTnWLVzFSg==
+++ /dev/null
@@ -1 +0,0 @@
-/tTXhw8tmmz4PK9YG21Whug==/Qe8z0HUArb5bZJjUqEo2Nw==/wv68UB9DLF9OfAcxgRKKtQ==/9No5n3deBUGa-BsvPRi3DQ== \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.4/gocryptfs.conf b/integration_tests/example_filesystems/v0.4/gocryptfs.conf
deleted file mode 100644
index 354b4bb..0000000
--- a/integration_tests/example_filesystems/v0.4/gocryptfs.conf
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "EncryptedKey": "He757VFOKOWbMJqJ7HBs67SMSi3Vu8/2vgWNI6j1tVo4JBlNvrQSw6KkCh0lGrHrh6ICbPv4MyoyFdGa",
- "ScryptObject": {
- "Salt": "MeHSsxsnJwngAwptNzuXQlj7JtF1b0uzZuWvVV3cH3w=",
- "N": 65536,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": null
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.5/AOtl_i4xQWDyG0_zUqntOw== b/integration_tests/example_filesystems/v0.5/AOtl_i4xQWDyG0_zUqntOw==
deleted file mode 120000
index 7c52a28..0000000
--- a/integration_tests/example_filesystems/v0.5/AOtl_i4xQWDyG0_zUqntOw==
+++ /dev/null
@@ -1 +0,0 @@
-LFInXW9Djd1p8VfnwbhBaQy7MowhfNUDhsPPXXEiAfrfaVar6Ec= \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ== b/integration_tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ==
deleted file mode 120000
index 596cc3d..0000000
--- a/integration_tests/example_filesystems/v0.5/Pf35wlWlf43N68EbhIgTcQ==
+++ /dev/null
@@ -1 +0,0 @@
-OrWiZIVoBo4qbbJdsPy1MCwlvGTE4t_ackP4lbcLdKiTA-Zf \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.5/gocryptfs.conf b/integration_tests/example_filesystems/v0.5/gocryptfs.conf
deleted file mode 100644
index f839664..0000000
--- a/integration_tests/example_filesystems/v0.5/gocryptfs.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "EncryptedKey": "zIY8foMncKrAG8USA1/AQ+R8z+xRge3QZqDpGRIDAeNOkMeQQsnMsJzFJbZHcGlRbUye0CwRghR/UX4R",
- "ScryptObject": {
- "Salt": "BFQklFzt3j9ZDa8zcR9pwHfa8nDdLqyCzNp5kA+V6Y0=",
- "N": 1024,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": [
- "DirIV"
- ]
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.5/gocryptfs.diriv b/integration_tests/example_filesystems/v0.5/gocryptfs.diriv
deleted file mode 100644
index 3670294..0000000
--- a/integration_tests/example_filesystems/v0.5/gocryptfs.diriv
+++ /dev/null
@@ -1 +0,0 @@
-VLlgk# \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.5/j2BpGUT5kOtia20PWQ2rEA== b/integration_tests/example_filesystems/v0.5/j2BpGUT5kOtia20PWQ2rEA==
deleted file mode 100644
index 1ad2358..0000000
--- a/integration_tests/example_filesystems/v0.5/j2BpGUT5kOtia20PWQ2rEA==
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.6-plaintextnames/abs b/integration_tests/example_filesystems/v0.6-plaintextnames/abs
deleted file mode 120000
index e1740fa..0000000
--- a/integration_tests/example_filesystems/v0.6-plaintextnames/abs
+++ /dev/null
@@ -1 +0,0 @@
-/a/b/c/d \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf b/integration_tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf
deleted file mode 100644
index 257b7ee..0000000
--- a/integration_tests/example_filesystems/v0.6-plaintextnames/gocryptfs.conf
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "EncryptedKey": "SoTMt+DMqVDia42c7cx8YW6KrnzF9EQVYIq5DGR1yFqNKxtOCBIuXEIKJHYSw1Z8VluKRQmkugTOvyTU",
- "ScryptObject": {
- "Salt": "83wR2p5eDPtozsP48vizN1rAbYeXOtksvwoAZ9Y0vn4=",
- "N": 1024,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": [
- "PlaintextNames"
- ]
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6-plaintextnames/rel b/integration_tests/example_filesystems/v0.6-plaintextnames/rel
deleted file mode 120000
index 8279c75..0000000
--- a/integration_tests/example_filesystems/v0.6-plaintextnames/rel
+++ /dev/null
@@ -1 +0,0 @@
-status.txt \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6-plaintextnames/status.txt b/integration_tests/example_filesystems/v0.6-plaintextnames/status.txt
deleted file mode 100644
index e5b62fb..0000000
--- a/integration_tests/example_filesystems/v0.6-plaintextnames/status.txt
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.6/9pOs0yjJI5A67pv5CnqomQ== b/integration_tests/example_filesystems/v0.6/9pOs0yjJI5A67pv5CnqomQ==
deleted file mode 120000
index 11b0234..0000000
--- a/integration_tests/example_filesystems/v0.6/9pOs0yjJI5A67pv5CnqomQ==
+++ /dev/null
@@ -1 +0,0 @@
-OoEsnmmWQzBSl3E471yZkI2t2vB4SteL_l1J60HYXZ7g0W3CkTM= \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6/G79Zdu41H3bgwdaQlrz-dg== b/integration_tests/example_filesystems/v0.6/G79Zdu41H3bgwdaQlrz-dg==
deleted file mode 120000
index b72a393..0000000
--- a/integration_tests/example_filesystems/v0.6/G79Zdu41H3bgwdaQlrz-dg==
+++ /dev/null
@@ -1 +0,0 @@
-4IGGj21t4IYWI76F46v3gG-JwTcw_QxGDFMSk_19bJav2WNw \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ== b/integration_tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ==
deleted file mode 100644
index 5821d87..0000000
--- a/integration_tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ==
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.6/gocryptfs.conf b/integration_tests/example_filesystems/v0.6/gocryptfs.conf
deleted file mode 100644
index 1c72781..0000000
--- a/integration_tests/example_filesystems/v0.6/gocryptfs.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "EncryptedKey": "/PhLwDblkFRGfoIA0egXikG0ZSZTWrOOoFZJPPX0R8JgU5+XnT2M2rxUzHIKKeuGoqZN55phgJjhTu0J",
- "ScryptObject": {
- "Salt": "YSHRXpcWYp95npMxAy9cf27LoaPR3gvrFpk3Xhg2tM8=",
- "N": 1024,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": [
- "DirIV",
- "EMENames"
- ]
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.6/gocryptfs.diriv b/integration_tests/example_filesystems/v0.6/gocryptfs.diriv
deleted file mode 100644
index ec9f503..0000000
--- a/integration_tests/example_filesystems/v0.6/gocryptfs.diriv
+++ /dev/null
@@ -1 +0,0 @@
-('<7Q \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.7/4tRF1LdULRFLiXwfze671Q== b/integration_tests/example_filesystems/v0.7/4tRF1LdULRFLiXwfze671Q==
deleted file mode 120000
index f06d136..0000000
--- a/integration_tests/example_filesystems/v0.7/4tRF1LdULRFLiXwfze671Q==
+++ /dev/null
@@ -1 +0,0 @@
-_IdSjAmPQOJW6QkskuyQJS9bFTjntqx9kdg4Z3y8EzKBnIb_Ihqz4w== \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.7/RWPXmXkRFrWw1aOpq7C-NQ== b/integration_tests/example_filesystems/v0.7/RWPXmXkRFrWw1aOpq7C-NQ==
deleted file mode 100644
index 6ddcd1e..0000000
--- a/integration_tests/example_filesystems/v0.7/RWPXmXkRFrWw1aOpq7C-NQ==
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.7/dwPcZNei4HN4qPA6FxoG_A== b/integration_tests/example_filesystems/v0.7/dwPcZNei4HN4qPA6FxoG_A==
deleted file mode 120000
index c0c731f..0000000
--- a/integration_tests/example_filesystems/v0.7/dwPcZNei4HN4qPA6FxoG_A==
+++ /dev/null
@@ -1 +0,0 @@
-Ygqk_pYyxE_ac_ufVgxKCPxWHMGqQ8xUohIaHcmgeLU4uQB3_UmicPKB \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.7/gocryptfs.conf b/integration_tests/example_filesystems/v0.7/gocryptfs.conf
deleted file mode 100644
index 80c2673..0000000
--- a/integration_tests/example_filesystems/v0.7/gocryptfs.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "EncryptedKey": "0crm+qEf00XPxQrc8NIMp/0rgfaLb8wzTj+3G1slSytjsLHctj/fOKkGJIFyBk7xzvnWdkhyxxvHgfMS",
- "ScryptObject": {
- "Salt": "yZn+QMjR2ENZ6MoiURpqEqr8mgnCX8WN87KJafgiXhU=",
- "N": 1024,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": [
- "GCMIV128",
- "DirIV",
- "EMENames"
- ]
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.7/gocryptfs.diriv b/integration_tests/example_filesystems/v0.7/gocryptfs.diriv
deleted file mode 100644
index 3adef3c..0000000
--- a/integration_tests/example_filesystems/v0.7/gocryptfs.diriv
+++ /dev/null
@@ -1 +0,0 @@
-iȤ\?=Mc \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA== b/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA==
deleted file mode 120000
index c717734..0000000
--- a/integration_tests/example_filesystems/v0.9/00msNUi5h5aKMX_f-4pBhA==
+++ /dev/null
@@ -1 +0,0 @@
-5nI119EbCRtgT8AwTDPmxCuORvbGV4xdtmqnur7KK9ufir-ALyneV7Iy \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg== b/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg==
deleted file mode 100644
index 1bc4a81..0000000
--- a/integration_tests/example_filesystems/v0.9/R83PhW-BBA_q4rPYD7dEMg==
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.conf b/integration_tests/example_filesystems/v0.9/gocryptfs.conf
deleted file mode 100644
index 4d9b089..0000000
--- a/integration_tests/example_filesystems/v0.9/gocryptfs.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "EncryptedKey": "sAB/dsiDbFBbMr7ppsB3Fu81hVr6BBxlcfY1wZYRHlRvRV2uwRdYAACNM39CDxLBHZuNjk9UyWh87McP",
- "ScryptObject": {
- "Salt": "3mphl9Hmhzd6exmc8Um0jOOCgR8hAYvbzbEpTnIEMPg=",
- "N": 1024,
- "R": 8,
- "P": 1,
- "KeyLen": 32
- },
- "Version": 2,
- "FeatureFlags": [
- "GCMIV128",
- "DirIV",
- "EMENames",
- "LongNames"
- ]
-} \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.diriv b/integration_tests/example_filesystems/v0.9/gocryptfs.diriv
deleted file mode 100644
index 47d97ee..0000000
--- a/integration_tests/example_filesystems/v0.9/gocryptfs.diriv
+++ /dev/null
@@ -1 +0,0 @@
-~HA|ԁ \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ= b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=
deleted file mode 100644
index 78eb3ff..0000000
--- a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=
+++ /dev/null
Binary files differ
diff --git a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name b/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name
deleted file mode 100644
index 535cee7..0000000
--- a/integration_tests/example_filesystems/v0.9/gocryptfs.longname.y4J-w3LBX165Mn_pGdDRY7Gb6EgHcTrdWjME3WGu-CQ=.name
+++ /dev/null
@@ -1 +0,0 @@
-Py7wkyXYf1YXvFvHuizOqva6WWWYEQ-JYv1rOAvWWaARLyGdQdxuW-iBf1Vwd8orZjqkcIGgnxOfuRsarXKmn4-3L2MRIZKPhhx2QRqpPRtFylEABH1KwZ_2ZZnx5cpcO8TIoeVdL6NXnRw-WrT06zTUzVRioNPRLPa0J6c8_eb5QFb4EG5wPpn-XlJSedjAw31MUNvFxKYQku_UwJF0CvvXLCozVnNM_dDNWsgBevzB8VBySbfW7XgYMRPJRlJe3Pjeues9tyGJvAxGJVjfo4nZyWusMF2G4f9w06m3Bxjc7ladgJR6F6pyI4Z65DCIL7G6G2y__agmNcKtFwCS_Q== \ No newline at end of file
diff --git a/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg== b/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==
deleted file mode 120000
index 4190a7e..0000000
--- a/integration_tests/example_filesystems/v0.9/hwE1RKIXtF8hmQMvEXSTtg==
+++ /dev/null
@@ -1 +0,0 @@
-XRx7Nqxt_zuPNo7h8_j1LLVzqzIZg9qAYGRN9Iuq3XBc11Y7_RoQsg== \ No newline at end of file