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