aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:28:18 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-02-02 18:28:21 +0100
commite2e618894ed86470c89ab78c9e032a809ce7c227 (patch)
tree9c089d15c22230a1e3c8616e578d4e2e18ade7f4
parentadd Docker tests for older bash-es (diff)
downloadconfig-links-e2e618894ed86470c89ab78c9e032a809ce7c227.tar.gz
config-links-e2e618894ed86470c89ab78c9e032a809ce7c227.zip
move unit tests to test/unit/
Diffstat (limited to '')
-rw-r--r--Makefile2
-rw-r--r--test/docker-compose.yml2
-rw-r--r--test/unit/dest/1.txt (renamed from test/dest/1.txt)0
-rw-r--r--test/unit/dest/bar/3.txt (renamed from test/dest/bar/3.txt)0
-rw-r--r--test/unit/src/%DEST%/1.txt (renamed from test/src/%DEST%/1.txt)0
-rw-r--r--test/unit/src/%DEST%/bar/3.txt (renamed from test/src/%DEST%/bar/3.txt)0
-rw-r--r--test/unit/src/%DEST%/bar/baz/4.txt (renamed from test/src/%DEST%/bar/baz/4.txt)0
-rw-r--r--test/unit/src/%DEST%/foo/2.txt (renamed from test/src/%DEST%/foo/2.txt)0
-rwxr-xr-xtest/unit/test.sh (renamed from test/test.sh)0
9 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cf78947..ddc4349 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ test/all: test/local test/docker
.PHONY: test/local
test/local:
- ./test/test.sh
+ ./test/unit/test.sh
test/docker/%: DO
cd test && \
diff --git a/test/docker-compose.yml b/test/docker-compose.yml
index 2d7f094..1a4374a 100644
--- a/test/docker-compose.yml
+++ b/test/docker-compose.yml
@@ -4,4 +4,4 @@ services:
image: "ubuntu:${DISTRO:-xenial}"
volumes:
- ../:/src
- command: /src/test/test.sh
+ command: /src/test/unit/test.sh
diff --git a/test/dest/1.txt b/test/unit/dest/1.txt
index 3a2e3f4..3a2e3f4 100644
--- a/test/dest/1.txt
+++ b/test/unit/dest/1.txt
diff --git a/test/dest/bar/3.txt b/test/unit/dest/bar/3.txt
index a83d1d5..a83d1d5 100644
--- a/test/dest/bar/3.txt
+++ b/test/unit/dest/bar/3.txt
diff --git a/test/src/%DEST%/1.txt b/test/unit/src/%DEST%/1.txt
index d00491f..d00491f 100644
--- a/test/src/%DEST%/1.txt
+++ b/test/unit/src/%DEST%/1.txt
diff --git a/test/src/%DEST%/bar/3.txt b/test/unit/src/%DEST%/bar/3.txt
index 00750ed..00750ed 100644
--- a/test/src/%DEST%/bar/3.txt
+++ b/test/unit/src/%DEST%/bar/3.txt
diff --git a/test/src/%DEST%/bar/baz/4.txt b/test/unit/src/%DEST%/bar/baz/4.txt
index b8626c4..b8626c4 100644
--- a/test/src/%DEST%/bar/baz/4.txt
+++ b/test/unit/src/%DEST%/bar/baz/4.txt
diff --git a/test/src/%DEST%/foo/2.txt b/test/unit/src/%DEST%/foo/2.txt
index 0cfbf08..0cfbf08 100644
--- a/test/src/%DEST%/foo/2.txt
+++ b/test/unit/src/%DEST%/foo/2.txt
diff --git a/test/test.sh b/test/unit/test.sh
index e28f112..e28f112 100755
--- a/test/test.sh
+++ b/test/unit/test.sh