1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-20 07:46:09 +00:00
Mirror
Go to file
feiniks 500e35fe9b
Fix segment fault when group_repos is NULL (#338)
* Fix segment fault when group_repos is NULL

* Parse group repos when repos is not NULL
2020-04-10 19:56:53 +08:00
.github/workflows Use github action as ci test. 2020-01-13 21:49:03 -08:00
ci Modify stop server method (#330) 2020-03-26 15:47:36 +08:00
common Add repo sort function 2020-01-08 12:13:59 +08:00
controller Add rpc pipe path (#326) 2020-02-21 15:27:47 +08:00
doc Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
fuse These ldap users are listed by seaf fuse only if they've been imported. 2019-12-22 17:55:47 -08:00
include Add repo sort function 2019-12-30 16:19:33 +08:00
lib Add repo sort function 2019-12-30 16:19:33 +08:00
m4 Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
python Add rpc pipe path (#326) 2020-02-21 15:27:47 +08:00
scripts improve sqlite3 seahub.sql 2020-04-01 11:01:21 +08:00
server Fix segment fault when group_repos is NULL (#338) 2020-04-10 19:56:53 +08:00
tests Add repo sort function 2019-12-31 14:38:24 +08:00
tools Fix the arguments of ccnet init. 2019-10-22 19:53:25 -07:00
.gitignore Add functional tests (#120) 2018-01-16 17:10:26 +08:00
autogen.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
configure.ac Minor bug fixes. 2019-08-07 19:29:08 +08:00
LICENSE.txt Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00
Makefile.am Add seafile-tutorial doc. 2016-08-20 15:56:59 +08:00
pytest.ini Add functional tests (#120) 2018-01-16 17:10:26 +08:00
README.markdown Re-enabled travis ci. 2016-09-17 13:34:15 +08:00
README.testing.md Update testing README 2018-01-16 18:19:33 +08:00
run_tests.sh Add functional tests (#120) 2018-01-16 17:10:26 +08:00
updateversion.sh Initial commit of Seafile server core. 2016-08-19 13:54:16 +08:00

Seafile Server Tests

Run it locally

To run the tests, you need to install pytest first:

pip install -r ci/requirements.txt

Compile and install ccnet-server and seafile-server

cd ccnet-server
make
sudo make install

cd seafile-server
make
sudo make install

Then run the tests with

cd seafile-server
./run_tests.sh

By default the test script would try to start ccnet-server and seaf-server in /usr/local/bin, if you make install to another location, say /opt/local, run it like this:

SEAFILE_INSTALL_PREFIX=/opt/local ./run_tests.sh