1 test_add_section() 2 { 3 touch ${CONFIG_DIR}/add 4 section_name=$(${UCI} add add type) 5 assertNotNull "uci add does not return a section name." $section_name 6 sed 's/section/'$section_name'/' ${REF_DIR}/add_section.result > ${TMP_DIR}/add_section.result 7 assertSameFile ${TMP_DIR}/add_section.result ${CHANGES_DIR}/add 8 }
This page was automatically generated by LXR 0.3.1. • OpenWrt