about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorFrank Busse <bb0xfb@gmail.com>2018-11-01 11:30:11 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-12-19 22:22:27 +0000
commit8d953bdedcb3c004093bcc2fecb80c31397f2bcb (patch)
tree46b931acc87be4823ecd31ca934f93eddc5de5c6 /test
parentbe1c91ace77d519c37348c290a2c03db159d01bf (diff)
downloadklee-8d953bdedcb3c004093bcc2fecb80c31397f2bcb.tar.gz
Various fixes for ktest-tool
* switch to Python 3
* add file encoding
* some PEP8 reformatting
* fix TOCTOU for open
* replace trimZeros() with rstrip
* remove unused pos/args variables
* remove --write-ints (print by default)
* remove progname section (unused)
* added/modified output rows
  - "data:" now shows the Python representation (for use in scripts)
  - "hex :" shows the hex representation
  - "text:" shows ASCII, all out-of-range/non-printable characters are replaced by a dot
  - "int :"/"uint:" print (unsigned) 8/16/32/64 bit integers
* reduce width for object counter to needed minimum instead of 4
* refactor printing into function
Diffstat (limited to 'test')
-rw-r--r--test/regression/2014-09-13-debug-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/2014-09-13-debug-info.c b/test/regression/2014-09-13-debug-info.c
index ddf8461d..e4e9874c 100644
--- a/test/regression/2014-09-13-debug-info.c
+++ b/test/regression/2014-09-13-debug-info.c
@@ -8,7 +8,7 @@
 // one with the prefered CEX. We verify this by using ktest-tool to dump the
 // values, and then checking the output.
 //
-// RUN: /bin/sh -c "ktest-tool --write-int %t.klee-out/*.ktest" | sort > %t.data-values
+// RUN: /bin/sh -c "ktest-tool %t.klee-out/*.ktest" | sort > %t.data-values
 // RUN: FileCheck < %t.data-values %s
 
 // CHECK: object 0: data: 0