test/sd-script.py: new helper script for udev testing
authorMartin Wilck <mwilck@suse.com>
Wed, 25 Apr 2018 15:21:49 +0000 (17:21 +0200)
committerMichal Sekletár <msekleta@redhat.com>
Mon, 2 Nov 2020 10:43:15 +0000 (11:43 +0100)
commit0ed1b64469c9d6caae65335d36c707efadebf1e9
tree3fbf778d278025d7ff21b13acbaabe27214706c4
parenteb44d715ebee2fe11288433b99f8e1dc5fdac84a
test/sd-script.py: new helper script for udev testing

Script for generating LOTS of SCSI disk and partition devices in
the fake sysfs we use for udev testing.

This script is supposed to be run after sys-script.py. It uses
code from sys-script.py as template to generate additional SCSI disk data
structures. Together with the "generator" code in udev-test.pl
added in the previous patch, it allows to run udev tests with almost
arbitrarily many devices, and thus to do performance scaling tests.
test/sd-script.py [new file with mode: 0644]