linux-xiaomi-chiron/tools/testing/selftests/powerpc
Russell Currey cb662608e5 selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
The EPOCHSECONDS environment variable was added in bash 5.0 (released
2019).  Some distributions of the "stable" and "long-term" variety ship
older versions of bash than this, so swap to using the date command
instead.

"%s" was added to coreutils `date` in 1993 so we should be good, but who
knows, it is a GNU extension and not part of the POSIX spec for `date`.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211025102436.19177-1-ruscur@russell.cc
2021-10-27 22:34:02 +11:00
..
alignment
benchmarks
cache_shape
copyloops
dscr
eeh
include
lib
math
mm
nx-gzip
pmu
primitives
ptrace selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
scripts
security selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh 2021-10-27 22:34:02 +11:00
signal selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
stringloops
switch_endian
syscalls
tm selftests/powerpc: Add scv versions of the basic TM syscall tests 2021-09-13 22:34:11 +10:00
vphn
harness.c
Makefile
utils.c