~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/ktest/examples/include/bootconfig.conf

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/ktest/examples/include/bootconfig.conf (Version linux-6.12-rc7) and /tools/testing/ktest/examples/include/bootconfig.conf (Version linux-5.17.15)


  1 # bootconfig.conf                                   1 # bootconfig.conf
  2 #                                                   2 #
  3 # Tests to test some bootconfig scripts             3 # Tests to test some bootconfig scripts
  4                                                     4 
  5 # List where on the target machine the initrd       5 # List where on the target machine the initrd is used
  6 INITRD := /boot/initramfs-test.img                  6 INITRD := /boot/initramfs-test.img
  7                                                     7 
  8 # Install bootconfig on the target machine and      8 # Install bootconfig on the target machine and define the path here.
  9 BOOTCONFIG := /usr/bin/bootconfig                   9 BOOTCONFIG := /usr/bin/bootconfig
 10                                                    10 
 11 # Currenty we just build the .config in the BU     11 # Currenty we just build the .config in the BUILD_DIR
 12 BUILD_TYPE := oldconfig                            12 BUILD_TYPE := oldconfig
 13                                                    13 
 14 # Helper macro to run bootconfig on the target     14 # Helper macro to run bootconfig on the target
 15 # SSH is defined in include/defaults.conf          15 # SSH is defined in include/defaults.conf
 16 ADD_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d ${I     16 ADD_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d ${INITRD} && ${BOOTCONFIG} -a /tmp/${BOOTCONFIG_FILE} ${INITRD}"
 17                                                    17 
 18 # This copies a bootconfig script to the targe     18 # This copies a bootconfig script to the target and then will
 19 # add it to the initrd. SSH_USER is defined in     19 # add it to the initrd. SSH_USER is defined in include/defaults.conf
 20 # and MACHINE is defined in the example config     20 # and MACHINE is defined in the example configs.
 21 BOOTCONFIG_TEST_PREP = scp ${BOOTCONFIG_PATH}$     21 BOOTCONFIG_TEST_PREP = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_FILE} ${SSH_USER}@${MACHINE}:/tmp && ${ADD_BOOTCONFIG}
 22                                                    22 
 23 # When a test is complete, remove the bootconf     23 # When a test is complete, remove the bootconfig from the initrd.
 24 CLEAR_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d $     24 CLEAR_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d ${INITRD}"
 25                                                    25 
 26 # Run a verifier on the target after it had bo     26 # Run a verifier on the target after it had booted, to make sure that the
 27 # bootconfig script did what it was expected t     27 # bootconfig script did what it was expected to do
 28 DO_TEST = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_V     28 DO_TEST = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_VERIFY} ${SSH_USER}@${MACHINE}:/tmp && ${SSH} /tmp/${BOOTCONFIG_VERIFY}
 29                                                    29 
 30 # Comment this out to not run the boot configs     30 # Comment this out to not run the boot configs
 31 RUN_BOOTCONFIG := 1                                31 RUN_BOOTCONFIG := 1
 32                                                    32 
 33 TEST_START IF DEFINED RUN_BOOTCONFIG               33 TEST_START IF DEFINED RUN_BOOTCONFIG
 34 TEST_TYPE = test                                   34 TEST_TYPE = test
 35 TEST_NAME = bootconfig boottrace                   35 TEST_NAME = bootconfig boottrace
 36 # Just testing the bootconfig on initrd, no ne     36 # Just testing the bootconfig on initrd, no need to build the kernel
 37 BUILD_TYPE = nobuild                               37 BUILD_TYPE = nobuild
 38 BOOTCONFIG_FILE = boottrace.bconf                  38 BOOTCONFIG_FILE = boottrace.bconf
 39 BOOTCONFIG_VERIFY = verify-boottrace.sh            39 BOOTCONFIG_VERIFY = verify-boottrace.sh
 40 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/     40 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfig
 41 PRE_TEST = ${BOOTCONFIG_TEST_PREP}                 41 PRE_TEST = ${BOOTCONFIG_TEST_PREP}
 42 PRE_TEST_DIE = 1                                   42 PRE_TEST_DIE = 1
 43 TEST = ${DO_TEST}                                  43 TEST = ${DO_TEST}
 44 POST_TEST = ${CLEAR_BOOTCONFIG}                    44 POST_TEST = ${CLEAR_BOOTCONFIG}
 45                                                    45 
 46 TEST_START IF DEFINED RUN_BOOTCONFIG               46 TEST_START IF DEFINED RUN_BOOTCONFIG
 47 TEST_TYPE = test                                   47 TEST_TYPE = test
 48 TEST_NAME = bootconfig function graph              48 TEST_NAME = bootconfig function graph
 49 BUILD_TYPE = nobuild                               49 BUILD_TYPE = nobuild
 50 BOOTCONFIG_FILE = functiongraph.bconf              50 BOOTCONFIG_FILE = functiongraph.bconf
 51 BOOTCONFIG_VERIFY = verify-functiongraph.sh        51 BOOTCONFIG_VERIFY = verify-functiongraph.sh
 52 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/     52 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfig
 53 PRE_TEST = ${BOOTCONFIG_TEST_PREP}                 53 PRE_TEST = ${BOOTCONFIG_TEST_PREP}
 54 PRE_TEST_DIE = 1                                   54 PRE_TEST_DIE = 1
 55 TEST = ${DO_TEST}                                  55 TEST = ${DO_TEST}
 56 POST_TEST = ${CLEAR_BOOTCONFIG}                    56 POST_TEST = ${CLEAR_BOOTCONFIG}
 57                                                    57 
 58 TEST_START IF DEFINED RUN_BOOTCONFIG               58 TEST_START IF DEFINED RUN_BOOTCONFIG
 59 TEST_TYPE = test                                   59 TEST_TYPE = test
 60 TEST_NAME = bootconfig tracing                     60 TEST_NAME = bootconfig tracing
 61 BUILD_TYPE = nobuild                               61 BUILD_TYPE = nobuild
 62 BOOTCONFIG_FILE = tracing.bconf                    62 BOOTCONFIG_FILE = tracing.bconf
 63 BOOTCONFIG_VERIFY = verify-tracing.sh              63 BOOTCONFIG_VERIFY = verify-tracing.sh
 64 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/     64 ADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfig
 65 PRE_TEST = ${BOOTCONFIG_TEST_PREP}                 65 PRE_TEST = ${BOOTCONFIG_TEST_PREP}
 66 PRE_TEST_DIE = 1                                   66 PRE_TEST_DIE = 1
 67 TEST = ${DO_TEST}                                  67 TEST = ${DO_TEST}
 68 POST_TEST = ${CLEAR_BOOTCONFIG}                    68 POST_TEST = ${CLEAR_BOOTCONFIG}
 69                                                    69 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php