Initial Commit
- initial default booting image
This commit is contained in:
21
support/testing/tests/package/test_libldns.py
Normal file
21
support/testing/tests/package/test_libldns.py
Normal file
@@ -0,0 +1,21 @@
|
||||
import infra.basetest
|
||||
import os
|
||||
|
||||
|
||||
class TestLibLdns(infra.basetest.BRTest):
|
||||
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
||||
"""
|
||||
BR2_PACKAGE_LIBLDNS=y
|
||||
BR2_PACKAGE_LIBLDNS_DRILL=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
|
||||
self.emulator.boot(arch="armv5",
|
||||
kernel="builtin",
|
||||
options=["-initrd", cpio_file])
|
||||
self.emulator.login()
|
||||
|
||||
self.assertRunOk("drill -v")
|
||||
Reference in New Issue
Block a user