kernel: move do_padconf and add a test case

padconf is specific to arm, so it's being moved to kernel/arch/earm.

Add a test case to ensure the proper error is returned on non-ARM
systems.

Change-Id: I07ebbe64825d59bc0ef9c818d3d54891dafb4419
This commit is contained in:
Thomas Cort
2013-08-29 09:23:10 -04:00
parent 4593804bf0
commit 9f4b8dc11b
8 changed files with 95 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
make >/dev/null
echo -n "Kernel test (sys_padconf): "
service up `pwd`/padconftest -config system.conf -label padconftest -script /etc/rs.single
r=$?
if [ $r -ne 0 ]; then
echo "failure"
exit 1
fi
echo "ok"