mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 12:20:58 +01:00
added better error handling to vault writing, always use a tmp
vault file for writing. added matching unittest to check if the code catches a disk full error.
This commit is contained in:
@@ -34,10 +34,17 @@ pwhashes_SOURCES = pwhashes.c
|
||||
AM_CPPFLAGS = -I$(top_builddir)/src
|
||||
|
||||
|
||||
#
|
||||
# Note: some of these unit tests run only on freebsd.
|
||||
# required sudo settings:
|
||||
# %wheel ALL = NOPASSWD: /sbin/umount
|
||||
# %wheel ALL = NOPASSWD: /sbin/mdmfs
|
||||
|
||||
test: check
|
||||
rm -f test* v* stresstest/*
|
||||
./unittests.pl unittests.cfg $(CHECK)
|
||||
@echo "To run a single test only, type: 'make test CHECK=testname'"
|
||||
sudo umount -f env
|
||||
|
||||
stresstest: check
|
||||
./unittests.pl stresstests.cfg
|
||||
|
||||
Reference in New Issue
Block a user