]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: update README
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 5 Mar 2015 16:06:38 +0000 (13:06 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Mar 2015 02:56:44 +0000 (23:56 -0300)
testsuite/README

index d5843bfca74fcea5986cdc150f54d11160a76322..6efc61e6cd454e1573a02817c811d42767a19834 100644 (file)
@@ -33,7 +33,7 @@ pay attention when writing a test:
 
 3 - If you want testsuite to compare the stdout/stderr of your tests in order
     to check if it worked or not, fill in output.{stderr,stdout} the file with
-    the expected output. Bare in mind the same file is used for all
+    the expected output. Bear in mind the same file is used for all
     architectures, so don't print arch-dependent content if you are comparing
     the output.
 
@@ -49,8 +49,10 @@ pay attention when writing a test:
 6 - expected_fail: if that test is expected to fail, i.e. the return code is
     expected not to be 0.
 
-7 - If you added files to the rootfs, be sure to compact it back to
-    rootfs.tar.xz before sending patches: use 'make testsuite-pack-rootfs'
+7 - The rootfs is populated by copying the entire contents of rootfs-pristine
+    then running populate-modules.sh to copy generated modules from
+    module-playground. Update the latter script to include any modules your
+    test need.
 
 8 - Tests can be run individually, outside of 'make check'. strace and gdb work
     too, as long as you tell them to operate on child process.