Blaine Motsinger
5126e6623c
Remove invalid java invocation arguments
...
The UseConcMarkSweepGC, CMSIncrementalPacing, and AggressiveOpts
arguments are no longer supported in current versions of Java.
Java fails to start with them present.
Additionally, having less specific default invocation options
allows supporting more versions of Java and makes for less
maintenance into the future as options are deprecated.
Invocation options can be added to individual server configs, or
to the global config, if the user wants to change the defaults.
Fixes issue #402
2020-09-26 23:43:46 -05:00
SirJosh3917
5bd2bc2a95
add dollar sign for interpolation
...
i'm pretty sure this is useful, right?
2019-11-28 21:29:21 -05:00
sk4ly
455e0daeed
Added compatability for installations of shUnit2 existing outside of the local directory.
2013-10-23 23:05:34 -08:00
Marcus Whybrow
fc6b847976
Fix travis not finding versioning files
2012-08-13 02:39:01 +01:00
Marcus Whybrow
4a5c1a04d5
Rename test $SCRIPT to $TEST_SCRIPT
...
The test.sh file's $SCRIPT variable now clashes with the new init/msm
file's $SCRIPT var. So I renamed it
2012-08-11 22:27:41 +01:00
Marcus Whybrow
fe8687f546
Added tests for offline server commands up to <server> jar
.
2012-07-20 10:14:51 +01:00
Marcus Whybrow
60a6af24c2
Introduced lazy config loading. Faster in general.
...
Instead of allocating all memory up front for every possible command
option this new approach just expects certain variable names. If those
variables are used in a function the manager_property, server_property
or world_property command ensures that the variable has been loaded
from config files.
This approach uses sed to retrieve a single line from a config file
when necessary, instead of reading every line at startup.
2012-07-20 02:41:37 +01:00
Marcus Whybrow
3bb1c6a909
Fixed tests to use new setting names.
2012-07-13 21:49:40 +01:00
Marcus Whybrow
dc2eb43af5
Merged refactoring into master.
2012-06-17 22:52:35 +01:00
Marcus Whybrow
583bc04c5f
Added tests for jar group creation and listing
2012-06-12 03:14:43 +01:00
Marcus Whybrow
c932bab672
Finished refactoring commands into a registration type system.
2012-06-12 02:02:20 +01:00
Marcus Whybrow
d647990e86
Updated test.sh
to not set the group of the test conf file.
2012-06-06 01:11:56 +01:00
Marcus Whybrow
10e1c77a6f
Updated test.sh
to only chown the user and not the group of the test directory.
2012-06-06 01:08:42 +01:00
Marcus Whybrow
787765b95f
Added tests for renaming stopped servers.
2012-06-05 22:38:21 +01:00
Marcus Whybrow
45b05bcffc
Added a test for deleting an existing server.
2012-06-05 21:27:42 +01:00
Marcus Whybrow
67e73f2b4e
Added helper functions which set variables for script tests.
2012-06-05 21:08:23 +01:00
Marcus Whybrow
c79efe0abd
Added explanatory exit codes to the script.
...
These codes are used by `test.sh` to better analyse whether an action
was successful or not.
2012-06-05 19:40:32 +01:00
Marcus Whybrow
af15359935
Moved test function to correct section.
2012-06-05 01:43:17 +01:00
Marcus Whybrow
b0477de67b
Added comment sections for all interaction points.
2012-06-05 01:41:18 +01:00
Marcus Whybrow
e5e38fc8e2
Added test for deleting a server that does not exist.
2012-06-05 01:40:28 +01:00
Marcus Whybrow
8a6d8ba892
Added a test for creating duplicate server names.
2012-06-05 01:38:33 +01:00
Marcus Whybrow
524f22f781
Added tests for invalid and edge case server names.
2012-06-05 00:50:24 +01:00
Marcus Whybrow
45ee034f2c
Added a test for invalid server names.
2012-06-05 00:09:54 +01:00
Marcus Whybrow
63af7c7c1b
Added a test for creating a server after the "miencraft" jar group is present.
2012-06-04 21:52:13 +01:00
Marcus Whybrow
330bc72d01
Moved test oneTimeSetup code to execute for each test.
...
Now the conf file is created fresh for each test.
2012-06-04 21:51:49 +01:00
Marcus Whybrow
819d09b744
Added test fro creating a server without any jar groups present.
2012-06-04 21:42:08 +01:00
Marcus Whybrow
905cb2494a
Added test.sh which runs unit tests.
2012-06-04 21:41:22 +01:00