aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/doc/initrd.txt
diff options
context:
space:
mode:
authorConnor Shu <Connor.Shu@ibm.com>2018-08-22 14:16:46 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-08 21:52:55 -0800
commit8f15c682ac5a778feb8e343f9057b89beb40d85b (patch)
treebb489e8004913e28d397c2d016c9d3bf5c62ddbd /tools/testing/selftests/rcutorture/doc/initrd.txt
parentLinux 4.20-rc1 (diff)
downloadlinux-dev-8f15c682ac5a778feb8e343f9057b89beb40d85b.tar.xz
linux-dev-8f15c682ac5a778feb8e343f9057b89beb40d85b.zip
rcutorture: Automatically create initrd directory
The rcutorture scripts currently expect the user to create the tools/testing/selftests/rcutorture/initrd directory. Should the user fail to do this, the kernel build will fail with obscure and confusing error messages. This commit therefore adds explicit checks for the tools/testing/selftests/rcutorture/initrd directory, and if not present, creates one on systems on which dracut is installed. If this directory could not be created, a less obscure error message is emitted and the test is aborted. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Connor Shu <Connor.Shu@ibm.com> [ paulmck: Adapt the script to fit into the rcutorture framework and severely abbreviate the initrd/init script. ] Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions