<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, branch OTP-17.1</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Make pre-loaded modules permanently sticky</title>
<updated>2014-06-04T14:43:17+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-05-09T10:35:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ed06dd12ea74018b902a2c4c7924313d23cedb75'/>
<id>ed06dd12ea74018b902a2c4c7924313d23cedb75</id>
<content type='text'>
Modules in the kernel, stdlib, and compiler applications are by
default "sticky", meaning that the code server will refuse to
re-load them.

The pre-loaded modules (those that are part of the run-time system
itself, such as 'erlang') are, however, not sticky. They used to be
sticky a long time ago when the pre-loaded modules were part of
the kernel application. Now they are part of the erts application.

Since re-loading a pre-loaded module can be catastrophic (especially
re-loading the 'erlang' module), the pre-loaded modules must be
sticky. Furthermore, it should not be allowed to unstick them.

The sticky_dir/1 test case in code_SUITE is never actually run and
is broken. Rewrite it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modules in the kernel, stdlib, and compiler applications are by
default "sticky", meaning that the code server will refuse to
re-load them.

The pre-loaded modules (those that are part of the run-time system
itself, such as 'erlang') are, however, not sticky. They used to be
sticky a long time ago when the pre-loaded modules were part of
the kernel application. Now they are part of the erts application.

Since re-loading a pre-loaded module can be catastrophic (especially
re-loading the 'erlang' module), the pre-loaded modules must be
sticky. Furthermore, it should not be allowed to unstick them.

The sticky_dir/1 test case in code_SUITE is never actually run and
is broken. Rewrite it.
</pre>
</div>
</content>
</entry>
<entry>
<title>application_SUITE: Clean up the code after the test is done</title>
<updated>2014-05-26T13:54:12+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-05-14T10:27:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=32f33d9897261b15573e7e606d990e60e294fc22'/>
<id>32f33d9897261b15573e7e606d990e60e294fc22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Teach code:del_path/1 to ignore superfluous slashes</title>
<updated>2014-05-26T13:54:12+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-05-26T13:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d8fa3de932d97db3a93520ac30f60045e8a9cef4'/>
<id>d8fa3de932d97db3a93520ac30f60045e8a9cef4</id>
<content type='text'>
The following sequence will NOT leave the code path unchanged:

  code:add_path("/some/app/"),
  .
  .
  .
  code:del_path("/some/app/")

The reason is that code:add_path/1 will normalize the path name
(removing the trailing slash), while code:del_path/1 does not
normalize the path before searching for it in the code path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following sequence will NOT leave the code path unchanged:

  code:add_path("/some/app/"),
  .
  .
  .
  code:del_path("/some/app/")

The reason is that code:add_path/1 will normalize the path name
(removing the trailing slash), while code:del_path/1 does not
normalize the path before searching for it in the code path.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'siri/cuddle-with-tests' into maint</title>
<updated>2014-05-09T08:17:16+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2014-05-09T08:17:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c5979e269c01789546f03660930e3991ee1037b8'/>
<id>c5979e269c01789546f03660930e3991ee1037b8</id>
<content type='text'>
* siri/cuddle-with-tests:
  Fix regexp in release_handler test so versions are correctly replaced
  Update kernel, stdlib and sasl appup tests
  Minor update to test_server for finding old releases
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* siri/cuddle-with-tests:
  Fix regexp in release_handler test so versions are correctly replaced
  Update kernel, stdlib and sasl appup tests
  Minor update to test_server for finding old releases
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/kernel/fix_sendfile_no_async_tests/OTP-11903' into maint</title>
<updated>2014-05-05T12:40:32+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2014-05-05T12:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=abdd3f82100c515508e2c431f8f34dbbc9400d29'/>
<id>abdd3f82100c515508e2c431f8f34dbbc9400d29</id>
<content type='text'>
* lukas/kernel/fix_sendfile_no_async_tests/OTP-11903:
  kernel: Skip sendfile tests that force async threads
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/kernel/fix_sendfile_no_async_tests/OTP-11903:
  kernel: Skip sendfile tests that force async threads
</pre>
</div>
</content>
</entry>
<entry>
<title>Update kernel, stdlib and sasl appup tests</title>
<updated>2014-04-23T12:29:30+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2014-04-22T13:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5e1cfb2f2a296778c400c4afd47571bceb86d4ca'/>
<id>5e1cfb2f2a296778c400c4afd47571bceb86d4ca</id>
<content type='text'>
Add test of update instructions from current major to current
minor. Earlier only previous major to current was tested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test of update instructions from current major to current
minor. Earlier only previous major to current was tested.
</pre>
</div>
</content>
</entry>
<entry>
<title>Store expanded config in application_controller:change_application_data</title>
<updated>2014-04-11T15:29:33+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2014-04-11T15:24:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ef6a9b9b7f7a7c829f524d3f51448d3501c36652'/>
<id>ef6a9b9b7f7a7c829f524d3f51448d3501c36652</id>
<content type='text'>
If the Config given to application_controller:change_application_data
included other config files, it was only expanded for already existing
(loaded) applications. If an upgrade added a new application which had
config data in an included config file, the new application did not
get correct config data.

This is now changed so config data will be expanded for all
applications.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the Config given to application_controller:change_application_data
included other config files, it was only expanded for already existing
(loaded) applications. If an upgrade added a new application which had
config data in an included config file, the new application did not
get correct config data.

This is now changed so config data will be expanded for all
applications.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Skip sendfile tests that force async threads</title>
<updated>2014-04-10T07:47:52+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2014-04-10T07:47:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3fa8cba85018d77599a4028dcc300fb08f92d422'/>
<id>3fa8cba85018d77599a4028dcc300fb08f92d422</id>
<content type='text'>
The tests have to be skipped when the emulator running the tests does
not have any async threads.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests have to be skipped when the emulator running the tests does
not have any async threads.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: tweak tests</title>
<updated>2014-03-28T08:58:19+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2014-03-04T09:28:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e5d3241e4d7a403702709bf25014d920d6ac563a'/>
<id>e5d3241e4d7a403702709bf25014d920d6ac563a</id>
<content type='text'>
heart tests decrease atom table size so node crashes faster

Fix timetrap and sync
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
heart tests decrease atom table size so node crashes faster

Fix timetrap and sync
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'lukas/ose/master-17.0/OTP-11334'</title>
<updated>2014-03-27T08:59:57+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2014-03-27T08:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ed483c484f1752151e73ed0c060b61312e59a397'/>
<id>ed483c484f1752151e73ed0c060b61312e59a397</id>
<content type='text'>
* lukas/ose/master-17.0/OTP-11334:
  ose: Fix erts assert failed printouts
  ose: fix for packet_bytes in fd/spawn driver.
  ose: Prepare slave for running on OSE
  ose: Fix bug when hunting for signal proxy
  ose: Implement tcp inet driver for OSE
  ose: Add ifdefs for HAVE_UDP
  ose: Yielding has to be done differently for background processes.
  ose: Print faults in aio sys driver calls
  ose: Prinout errno when to_erl read fails
  ose: erlang display goes to ramlog printf
  ose: Initiate stdin/stdout/stderr
  ose: Break lmconf into one per load module
  ose: Reset busy port when pdq empty
  ose: Restore the owner of the signal
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/ose/master-17.0/OTP-11334:
  ose: Fix erts assert failed printouts
  ose: fix for packet_bytes in fd/spawn driver.
  ose: Prepare slave for running on OSE
  ose: Fix bug when hunting for signal proxy
  ose: Implement tcp inet driver for OSE
  ose: Add ifdefs for HAVE_UDP
  ose: Yielding has to be done differently for background processes.
  ose: Print faults in aio sys driver calls
  ose: Prinout errno when to_erl read fails
  ose: erlang display goes to ramlog printf
  ose: Initiate stdin/stdout/stderr
  ose: Break lmconf into one per load module
  ose: Reset busy port when pdq empty
  ose: Restore the owner of the signal
</pre>
</div>
</content>
</entry>
</feed>
