summaryrefslogtreecommitdiffstats
path: root/Documentation/TODO
diff options
context:
space:
mode:
authorKarel Zak2017-09-18 11:44:57 +0200
committerKarel Zak2017-09-18 11:44:57 +0200
commitcf92105e50c6b662047e23086de70adc0a8f3f43 (patch)
treedb441e8404762009d4cf88c250cf79893b8a2aec /Documentation/TODO
parentbash-completion: update uuidgen, wipefs, tunelp, setpriv, and hwclock (diff)
downloadkernel-qcow2-util-linux-cf92105e50c6b662047e23086de70adc0a8f3f43.tar.gz
kernel-qcow2-util-linux-cf92105e50c6b662047e23086de70adc0a8f3f43.tar.xz
kernel-qcow2-util-linux-cf92105e50c6b662047e23086de70adc0a8f3f43.zip
docs: add ASAN to TODO list
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation/TODO')
-rw-r--r--Documentation/TODO21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/TODO b/Documentation/TODO
index 3086134be..47330a1dc 100644
--- a/Documentation/TODO
+++ b/Documentation/TODO
@@ -11,6 +11,27 @@ build-sys
./configure --disable-all-programs --enable-programs hwclock,lsblk
+tests (!):
+---------
+
+ - add a new --enable-clang-asan to ./configure
+ - add a new --asan option to tests/run.sh
+ - rename tests/run.sh --memcheck to --valgrind
+ - rename tests/functions.sh:ts_valgrind() to ts_run()
+ - improve ts_run() to be sensitive to --asan or --valgrind (etc.)
+ - use export ASAN_OPTIONS='detect_leaks=0' by default
+ - add TS_ENABLE_MEMLEAK_CHECK=yes to tests where we want to check for
+ memory leaks
+
+ Note we don't want free-before-exit code in simple utils, so no all memory
+ leaks are relevant. We care about leaks in libs, deamons, etc.
+
+ and then we can use
+
+ $ ./configure --enable-clang-asan
+ $ cd tests
+ $ ./run.sh --asan
+
su/runuser
----------
- (!) implement pty container for all su/runuser session (something like