diff options
author | wukong <rebirthmonkey@gmail.com> | 2015-11-23 17:48:48 +0100 |
---|---|---|
committer | wukong <rebirthmonkey@gmail.com> | 2015-11-23 17:48:48 +0100 |
commit | fca74d4bc3569506a6659880a89aa009dc11f552 (patch) | |
tree | 4cefd06af989608ea8ebd3bc6306889e2a1ad175 /moon-abe/cpabe-0.11/test | |
parent | 840ac3ebca7af381132bf7e93c1e4c0430d6b16a (diff) |
moon-abe cleanup
Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3
Diffstat (limited to 'moon-abe/cpabe-0.11/test')
-rw-r--r-- | moon-abe/cpabe-0.11/test/cpabe-dec.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/cpabe-enc.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/cpabe-keygen.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/cpabe-setup.py | 17 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/enc_ind | bin | 532 -> 0 bytes | |||
-rw-r--r-- | moon-abe/cpabe-0.11/test/enc_trap | bin | 132 -> 0 bytes | |||
-rw-r--r-- | moon-abe/cpabe-0.11/test/indexClear | 2 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/master_key | bin | 156 -> 0 bytes | |||
-rw-r--r-- | moon-abe/cpabe-0.11/test/peks-ind.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/peks-test.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/peks-trap.py | 18 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/priv_key | bin | 411 -> 0 bytes | |||
-rw-r--r-- | moon-abe/cpabe-0.11/test/pub_key | bin | 888 -> 0 bytes | |||
-rw-r--r-- | moon-abe/cpabe-0.11/test/testFile.txt | 1 | ||||
-rw-r--r-- | moon-abe/cpabe-0.11/test/testFile.txt.dec | 1 |
15 files changed, 0 insertions, 129 deletions
diff --git a/moon-abe/cpabe-0.11/test/cpabe-dec.py b/moon-abe/cpabe-0.11/test/cpabe-dec.py deleted file mode 100644 index 3e120578..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-dec.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-dec" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-enc.py b/moon-abe/cpabe-0.11/test/cpabe-enc.py deleted file mode 100644 index cff9a6f6..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-enc.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-enc" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-keygen.py b/moon-abe/cpabe-0.11/test/cpabe-keygen.py deleted file mode 100644 index 21e1306b..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-keygen.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-keygen" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-setup.py b/moon-abe/cpabe-0.11/test/cpabe-setup.py deleted file mode 100644 index a1d82c9f..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-setup.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -import os.path -import sys -from subprocess import call - -c_prog = "cpabe-setup" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - call([c_prog]) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - call(["./" + c_prog]) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/enc_ind b/moon-abe/cpabe-0.11/test/enc_ind Binary files differdeleted file mode 100644 index 01aeabaf..00000000 --- a/moon-abe/cpabe-0.11/test/enc_ind +++ /dev/null diff --git a/moon-abe/cpabe-0.11/test/enc_trap b/moon-abe/cpabe-0.11/test/enc_trap Binary files differdeleted file mode 100644 index 200de618..00000000 --- a/moon-abe/cpabe-0.11/test/enc_trap +++ /dev/null diff --git a/moon-abe/cpabe-0.11/test/indexClear b/moon-abe/cpabe-0.11/test/indexClear deleted file mode 100644 index 6f6894cd..00000000 --- a/moon-abe/cpabe-0.11/test/indexClear +++ /dev/null @@ -1,2 +0,0 @@ -Keyword1 -Keyword2 diff --git a/moon-abe/cpabe-0.11/test/master_key b/moon-abe/cpabe-0.11/test/master_key Binary files differdeleted file mode 100644 index 63e4dec5..00000000 --- a/moon-abe/cpabe-0.11/test/master_key +++ /dev/null diff --git a/moon-abe/cpabe-0.11/test/peks-ind.py b/moon-abe/cpabe-0.11/test/peks-ind.py deleted file mode 100644 index ca7c5ad5..00000000 --- a/moon-abe/cpabe-0.11/test/peks-ind.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-ind" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/peks-test.py b/moon-abe/cpabe-0.11/test/peks-test.py deleted file mode 100644 index 2cb59713..00000000 --- a/moon-abe/cpabe-0.11/test/peks-test.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-test" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - sys.exit(call(args)) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - sys.exit(call(args)) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/peks-trap.py b/moon-abe/cpabe-0.11/test/peks-trap.py deleted file mode 100644 index 02e88cee..00000000 --- a/moon-abe/cpabe-0.11/test/peks-trap.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-trap" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/priv_key b/moon-abe/cpabe-0.11/test/priv_key Binary files differdeleted file mode 100644 index 9e882734..00000000 --- a/moon-abe/cpabe-0.11/test/priv_key +++ /dev/null diff --git a/moon-abe/cpabe-0.11/test/pub_key b/moon-abe/cpabe-0.11/test/pub_key Binary files differdeleted file mode 100644 index 24be30ad..00000000 --- a/moon-abe/cpabe-0.11/test/pub_key +++ /dev/null diff --git a/moon-abe/cpabe-0.11/test/testFile.txt b/moon-abe/cpabe-0.11/test/testFile.txt deleted file mode 100644 index 98a1cfb8..00000000 --- a/moon-abe/cpabe-0.11/test/testFile.txt +++ /dev/null @@ -1 +0,0 @@ -I am a test File!!! diff --git a/moon-abe/cpabe-0.11/test/testFile.txt.dec b/moon-abe/cpabe-0.11/test/testFile.txt.dec deleted file mode 100644 index 98a1cfb8..00000000 --- a/moon-abe/cpabe-0.11/test/testFile.txt.dec +++ /dev/null @@ -1 +0,0 @@ -I am a test File!!! |