Lines Matching full:echo
4 echo "Boot config test script"
29 echo "test case $NO ($*)... "
30 if ! ($@ && echo "\t\t[OK]"); then
31 echo "\t\t[NG]"; NG=$((NG + 1))
37 echo "test case $NO ($*)... "
38 if ! (! $@ && echo "\t\t[OK]"); then
39 echo "\t\t[NG]"; NG=$((NG + 1))
44 echo "Basic command test"
47 echo "Delete command should success without bootconfig"
51 echo "key = value;" > $TEMPCONF
55 echo "Apply command test"
59 echo "Show command test"
62 echo "File size check"
68 echo "Apply command repeat test"
71 echo "File size check"
74 echo "Delete command check"
77 echo "File size check"
81 echo "No error messge while applying"
88 echo "Max node number check"
90 echo -n > $TEMPCONF
92 echo "node$i" >> $TEMPCONF
96 echo "badnode" >> $TEMPCONF
99 echo "Max filesize check"
102 echo -n "data = \"" > $TEMPCONF
104 echo "\"" >> $TEMPCONF
108 echo "\"" >> $TEMPCONF # add 2 bytes + terminal ('\"\n\0')
111 echo "Adding same-key values"
116 echo > $INITRD
124 echo "Override same-key values"
129 echo > $INITRD
137 echo "Double/single quotes test"
138 echo "key = '\"string\"';" > $TEMPCONF
144 echo "Repeat same-key tree"
150 echo > $INITRD
157 echo "Remove/keep tailing spaces"
162 echo > $INITRD
169 echo "=== expected failure cases ==="
174 echo "=== expected success cases ==="
180 echo
181 echo "=== Summary ==="
182 echo "# of Passed: $(expr $NO - $NG - 1)"
183 echo "# of Failed: $NG"
185 echo
187 echo "All tests passed"
189 echo "$NG tests failed"