util-linux/tests/ts
Ross Burton be39647ac4 test/eject: guard asan LD_PRELOAD with use-system-commands check
This test tries to add asan to LD_PRELOAD because the just-built eject
will call the host /bin/umount, and apparently asan doesn't like this.

However, if ldd isn't present, this fails as the path to asan is the
error message saying that ldd isn't present.

As the asan workaround is only needed when executing the binaries that
have just been built and not the system binaries, only use it if the
test is on the built binaries.

Closes #1373.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2021-07-20 11:54:17 +02:00
..
bitops tests: check commands needed for running a test exist 2014-03-07 11:52:57 +01:00
blkdiscard tests: check correct log file for errors in blkdiscard test 2021-07-20 11:53:10 +02:00
blkid libblkid: remove workaround for FAT+MBR on whole-disk 2021-04-09 14:42:18 +02:00
build-sys tests: don't use ASAN in build tests 2020-06-08 11:45:09 +02:00
cal cal: Add test, all are checked against ncal 2020-05-11 17:41:54 +02:00
chfn tests: (chfn) force to bash 2019-12-16 15:27:45 +01:00
col col: make input to tolerate invalid wide characters 2020-12-02 22:12:32 +00:00
colcrt tests: (colcrt) use env to set locale 2019-08-30 20:46:58 +02:00
colrm tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
column tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
cramfs tests: be explicit with file permissions for cramfs 2021-02-09 18:02:13 +01:00
dmesg tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
eject test/eject: guard asan LD_PRELOAD with use-system-commands check 2021-07-20 11:54:17 +02:00
fdisk libfdisk: use open(O_EXCL) to detect if device is used 2021-04-15 15:14:52 +02:00
fincore tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
findmnt libmount: make rootfs lookup by parent-id more robust 2017-02-01 16:20:12 +01:00
fsck tests: migrate from ext3 to ext2 2021-01-26 11:11:14 +01:00
fuzzers ci: deal with uninstrumented binaries using instrumented libs 2021-02-01 12:00:30 +01:00
getopt docs: rename to getopt-example 2020-11-03 15:23:03 +01:00
hardlink tests: update hardlink tests 2021-02-17 11:50:21 +01:00
hexdump tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
hwclock tests: skip hwclock/systohc on GH Actions 2021-01-26 11:54:38 +01:00
ipcs tests: improve u64 use in ipcs test 2021-01-19 16:25:33 +01:00
isosize tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
kill tests: don't hardcode /bin/kill in the kill tests 2021-07-20 11:52:16 +02:00
libfdisk tests: add remaining stderr outputs 2019-08-30 16:10:01 +02:00
libmount tests: migrate from ext3 to ext2 2021-01-26 11:11:14 +01:00
libsmartcols tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
logger tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
login tests: check commands needed for running a test exist 2014-03-07 11:52:57 +01:00
look tests: check commands needed for running a test exist 2014-03-07 11:52:57 +01:00
losetup tests: fix grep expressions for devices 2018-03-19 11:46:11 +01:00
lsblk tests: (lsblk) gather also udev attributes for new dumps 2019-10-15 13:29:13 +02:00
lscpu tests: lscpu s390 nested virtualization 2019-09-22 13:49:45 +02:00
lsmem cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
lsns tests: fix lsns test on kernels without USER namespaces 2021-07-20 11:26:30 +02:00
md5 tests: test_md5 prints md5sum only 2016-04-13 12:29:16 +02:00
minix tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
misc tests: move misc/ul to ul/ directory 2020-11-09 16:31:59 +01:00
more tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
mount tests: update mountpoint return code chack 2021-03-12 11:39:23 +01:00
namei tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
partx tests: don't reply on scsi_debug partitions 2021-02-11 12:44:44 +01:00
paths tests: mark build-in paths test as optional 2016-08-12 10:13:22 +02:00
rename rename: tests: add more symlink checks 2020-07-14 15:51:47 -03:00
schedutils tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
script tests: mark scriptlive as KNOWN_FAILED 2019-11-26 09:56:24 +01:00
sfdisk tests: add sfdisk test for 4fe7f9b614 2020-08-10 12:00:17 +02:00
sha1 libuuid: add support for hash-based UUIDs 2017-09-05 11:26:39 +02:00
swapon tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
ul tests: mark ul/ul as a known failure 2021-07-20 11:53:10 +02:00
utmp tests: split stdout and stderr 2019-08-30 15:50:07 +02:00
uuid cleanup: Remove some spurious spaces 2019-10-01 13:01:43 +02:00
wipefs tests: consolidate rmmod scsi_debug 2016-10-21 15:08:49 +02:00