summaryrefslogtreecommitdiffstats
path: root/Documentation/howto-tests.txt
diff options
context:
space:
mode:
authorKarel Zak2012-07-30 18:37:54 +0200
committerKarel Zak2012-07-30 18:37:54 +0200
commita9770f7fa0d113f3fda10e7c62c65809bc6027cb (patch)
treec88d03dbf2104e4402dbe836b8c483d32692ea28 /Documentation/howto-tests.txt
parentbuild-sys: add run.sh to make check for non-root users (diff)
downloadkernel-qcow2-util-linux-a9770f7fa0d113f3fda10e7c62c65809bc6027cb.tar.gz
kernel-qcow2-util-linux-a9770f7fa0d113f3fda10e7c62c65809bc6027cb.tar.xz
kernel-qcow2-util-linux-a9770f7fa0d113f3fda10e7c62c65809bc6027cb.zip
docs: update howto-tests.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation/howto-tests.txt')
-rw-r--r--Documentation/howto-tests.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/Documentation/howto-tests.txt b/Documentation/howto-tests.txt
index 06abba781..f41628e99 100644
--- a/Documentation/howto-tests.txt
+++ b/Documentation/howto-tests.txt
@@ -5,26 +5,27 @@
It's expected that for each invasive change or important bugfix you will
include a test to your patch.
- Compile tests:
+ Compile tests & run basic tests:
- make check
+ $ make check
- Run all tests:
+ Run all tests including tests that require root permissions:
- ./run.sh [--verbose]
+ # cd tests
+ # ./run.sh [--verbose] [--memcheck]
Run subset of tests:
- ./run.sh <test_directory-name>
+ $ ./run.sh <test_directory-name>
for example:
- ./run.sh blkid
- ./run.sh fdisk
+ $ ./run.sh blkid
+ $ ./run.sh libmount
- *** WARNING ***
+ *** WARNING for root users ***
The tests touch your /etc/fstab. Please, be careful and use
these tests only for development and never on production system.