Home | History | Annotate | Download | only in games
History log of /src/tests/games/t_factor.sh
RevisionDateAuthorComments
 1.12  28-Apr-2024  rillig tests: replace deprecated '-s eq:...' with '-s exit:...'
 1.11  11-Oct-2020  christos simplify: use two arguments again, suggested by kre@
 1.10  11-Oct-2020  christos Add tests for h and x flags
 1.9  27-Jun-2016  pgoyette Do this more cleanly - put the do-we-have-crypto check inside the actual
do-the-test code rather than in a test's head() code. This way, if we
ever add more tests, we simply need to invoke the common do-the-test code
with an appropriate flag argument rather than duplicating the test.
 1.8  27-Jun-2016  pgoyette Split each test into its own test case.

For test case loop2, where there are multiple prime factors greater
than 65535, skip the test if the program was not built with crypto
support. We need crypto/openssl for large factors.

Should address PR bin/23663
 1.7  19-Nov-2010  pgoyette Since /usr/games is rarely in one's $PATH, provide an absolute path to the
test-program. This lets automated testing reach and execute a couple more
tests rather than skipping them.

Discussed privately with pooka@
 1.6  07-Nov-2010  jmmv 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.
 1.5  04-Jun-2010  jmmv 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 :-)
 1.4  19-Jan-2009  jmmv Adjust tests to work with the new API in ATF 0.6.
 1.3  30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.2  05-Feb-2008  jmmv branches: 1.2.4;
Remove a warning that said that the test could loop forever because ATF
will now automatically terminate it after 5 minutes of run time.
 1.1  12-Nov-2007  jmmv branches: 1.1.4;
Convert the regress/games tests to the atf

This change converts all the existing regression tests in regress/games
to the new framework provided by atf. As a side effect, this also moves
all the tests programs in regress/games to tests/games.
 1.1.4.3  23-Mar-2008  matt sync with HEAD
 1.1.4.2  09-Jan-2008  matt sync with HEAD
 1.1.4.1  12-Nov-2007  matt file t_factor.sh was added on branch matt-armv6 on 2008-01-09 01:59:27 +0000
 1.2.4.1  18-May-2008  yamt sync with head.

RSS XML Feed