Zvirt takes snapshots of Libvirt domains using ZFS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
387 B

.PHONY: all test unit-test syntax-test integration-test lint clean
all: syntax-test unit-test lint
syntax-test:
@echo "Running syntax tests..."
@/bin/bash -nv src/zvirt
@/bin/bash -nv src/lib/core.sh
unit-test:
@echo "Running unit tests..."
@LANG=LC_ALL=C BATS_LIB_PATH=$(PWD)/test/test_helper bats test/unit
clean:
lint:
@echo "Linting..."
@shellcheck src/zvirt src/lib/*.sh