diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-09-21 05:12:42 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-09-21 05:12:42 (GMT) |
commit | 47ed2f1b1262c0bda78153c9cebf576b571a7bb4 (patch) | |
tree | c52cf024811cad90cbf31dde086eda5f59d3a9e5 /tests/echotest | |
parent | 5f36117b8ff7e14ae450e770cdaa67e60561672d (diff) |
moving towards making tests work on bsd again
Diffstat (limited to 'tests/echotest')
-rwxr-xr-x | tests/echotest | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/echotest b/tests/echotest deleted file mode 100755 index a2302ff..0000000 --- a/tests/echotest +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env python - -import re, sys, subprocess - -result = subprocess.Popen([sys.argv[2], sys.argv[1], '-o', 'null'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[1] -result = re.sub(r'-?[0-9].[0-9]*e-[0-9]{2,}', '0', result) - -open(sys.argv[3], 'w').write(result) |