blob: 584bcc86bb51e15a80884feccd176051682fe5d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
test_export ()
{
cp ${REF_DIR}/export.data ${CONFIG_DIR}/export
${UCI_Q} export nilpackage
assertFalse $?
${UCI_Q} export export 1>/dev/null 2>&1
assertTrue $?
${UCI} export > ${TMP_DIR}/export.result
assertTrue $?
assertSameFile ${REF_DIR}/export.result ${TMP_DIR}/export.result
}
|