1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-18 08:15:14 +00:00
feiniks 27fc5b3197 Check if env is empty string (#748)
* Check if env is empty string

* Fix ci error

* Check if env is empty string

* Fix security issue for jwt

---------

Co-authored-by: Heran Yang <heran.yang@seafile.com>
2025-04-01 18:22:25 +08:00
2025-04-01 18:22:25 +08:00
2024-10-24 10:46:41 +08:00
2024-03-26 14:30:54 +08:00
2025-03-19 12:00:56 +08:00
2025-03-28 15:12:50 +08:00
2025-03-31 16:46:24 +08:00
2025-03-19 12:00:56 +08:00
2020-10-27 18:06:37 +08:00
2025-03-31 16:46:24 +08:00
2018-01-16 17:10:26 +08:00
2023-12-12 13:57:42 +08:00
2018-01-16 18:19:33 +08:00
2018-01-16 17:10:26 +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
Description
Mirror
Readme 18 MiB
Languages
C 76.4%
Go 12.6%
Python 9%
M4 1%
Vala 0.5%
Other 0.5%