mer-qa / blts-watchdog Goto Github PK
View Code? Open in Web Editor NEWFunctional tests for watchdog drivers
License: GNU General Public License v2.0
Functional tests for watchdog drivers
License: GNU General Public License v2.0
Overview ======== This package contains several Watchdog functionality tests for generic Linux-y mobile platforms. Software Requirements ===================== Building the package requires * linux >= 2.6.28 * GNU libc >= 2.1 * libbltscommon-dev >= 0.3.4 Running the tests in the package requires * linux >= 2.6.28 * GNU libc >= 2.1 * libbltscommon >= 0.3.4 Hardware requirements ===================== Running the tests requires * One DUT Building the package ==================== The package should build cleanly with GCC 4.x with the mentioned libraries. The preferred way is to use Autotools for configuration and makefile generation. The package builds (from the source tree root) with $ ./autogen.sh $ ./configure $ make To build debian package $ dpkg-buildpackage -rfakeroot To build RPM package $ ./pack.sh Test cases ========== * Watchdog presence check: simple existence check for watchdog * Open and close watchdog: open watchdog device node, query information * Send keepalive messages: set keepalive timeout, send keepalive messages to watchdog for ten second. Note that the device should reboot after the test case finishes. Running the tests ================= Run as root: $ blts-watchdog-tests Troubleshooting: * Ensure that /dev/watchdog exists ('ls -l /dev/watchdog'). It is possible that the watchdog kernel module is not loaded, so you may need to modprobe it (the module is hardware specific). * Only one process can access /dev/watchog at a time. If you see this message from blts-watchdog-tests; '/dev/watchdog seems to exist, but is in use by some other process.' There might be some watchdog daemon or some other process using the watchdog. To run the tests this daemon/some other process must not be running. Use 'lsof /dev/watchdog' to find out who is using the watchdog. (Usually this means that you need to tweak init scripts. Just forcibly killing the process is not a good idea, as the watchdog will reset the device.) To see other options for blts-watchdog-tests $ blts-watchdog-tests -h
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.