The NetBSD Project

CVS log for src/tests/modules/t_modload.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / modules

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 20 05:41:25 2012 UTC (8 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

For now, skip module tests if modctl(8) fails either with EPERM or ENOSYS.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 14 02:46:17 2012 UTC (8 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

The k_helper3 program does not need to be (and shouldn't be) installed
in its own subdirectory.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 13 07:05:32 2012 UTC (8 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.10: +13 -10 lines
Diff to previous 1.10 (colored)

Add a helper program that loads a module and returns the errno from modctl(8).

XXX: As noted on tech-kern@, the syscall should be modified to fail
     consistently with a given predefined errno on non-MODULAR kernels.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Mar 20 05:50:11 2012 UTC (8 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.9: +28 -1 lines
Diff to previous 1.9 (colored)

Skip Xen. XXX: There should be a reliable way to detect MODULAR.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 24 21:52:51 2011 UTC (9 years, 2 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.8: +8 -5 lines
Diff to previous 1.8 (colored)

Prevent failures from cleanup routines.  Do so by only attempting to do the
cleanup if the test case did not succeed (as, when it succeeds, the cleanup
has already happened).

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 7 17:51:20 2010 UTC (9 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)

Adjusts tests after import of atf-0.12:

- The use.fs property is gone.
- Mark the tests/fs/t_create:attrs test as broken when using the default
  unprivileged-user:_atf setting.  This probably deserves a fix somehow
  but I'm not sure at this point.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 5 16:27:08 2010 UTC (9 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Properly mark some test cases as having a cleanup routine.  Stupidity of
the API?  Most likely; will revise it.

Fixes atf-run breaking when running t_psshfs.  This does not resolve the
underlying issue though, which is atf-run getting confused trying to
unmount the temporary mount point by itself (I think).  (I'm now wondering
if atf should be bothering about unmounting stuff at all.  Maybe not. It is
a tricky and uncommon thing.)

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 4 08:39:41 2010 UTC (9 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

atf-0.9 introduces an use.fs test-case property to allow tests to write to
their work directory.  The purpose is to be able to know which tests intend
to touch the file system and to allow a minor optimization in atf-run.

Define use.fs=true for all those tests requiring it.  (This highlights that
some tests currently require modifying the file system but conceptually
they shouldn't be... which leaves room for further improvements/cleanups
later :-)

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 19 07:15:46 2009 UTC (11 years, 4 months ago) by jmmv
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.4: +61 -39 lines
Diff to previous 1.4 (colored)

Adjust tests to work with the new API in ATF 0.6.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 4 17:56:57 2009 UTC (11 years, 4 months ago) by jmmv
Branch: MAIN
Changes since 1.3: +15 -14 lines
Diff to previous 1.3 (colored)

Kernel modules (kmod files) are now installed in a subdirectory per module.
Make these tests aware of this so that they work again.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 2 14:20:50 2008 UTC (12 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5
Changes since 1.2: +14 -14 lines
Diff to previous 1.2 (colored)

- Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 30 13:11:00 2008 UTC (12 years ago) by martin
Branch: MAIN
Changes since 1.1: +1 -8 lines
Diff to previous 1.1 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 2 11:22:10 2008 UTC (12 years, 2 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Branch point for: yamt-pf42, matt-armv6, keiichi-mipv6

Add tests for load-time parameter passing to modules, both at the syscall
level through modctl(2) and at the user level through the modload(8)
utility.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>