From c9633ffbb017eb447a721d6f1fed9dab2207a829 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 3 Oct 2021 11:40:10 +0200 Subject: [PATCH] Rename tests/ -> test/ and update internal refs. Signed-off-by: Joachim Wiberg --- Makefile.am | 2 +- configure.ac | 2 +- debian/copyright | 2 +- {tests => test}/.gitignore | 0 {tests => test}/Makefile.am | 0 {tests => test}/check.h | 0 {tests => test}/chomp.c | 0 {tests => test}/copyfile.c | 0 {tests => test}/data/fexist/broken-link | 0 {tests => test}/data/fexist/dir/.placeholder | 0 {tests => test}/data/fexist/executable | 0 {tests => test}/data/fexist/link | 0 {tests => test}/data/fexist/regular | 0 {tests => test}/data/lfile/fstab | 0 {tests => test}/data/lfile/group | 0 {tests => test}/data/lfile/passwd | 0 {tests => test}/data/lfile/protocols | 0 {tests => test}/data/lfile/services | 0 {tests => test}/data/which/executable | 0 {tests => test}/data/which/executable-link | 0 {tests => test}/data/which/regular | 0 {tests => test}/dir.c | 0 {tests => test}/fexist.c | 0 {tests => test}/fisdir.c | 0 {tests => test}/fopenf.c | 0 {tests => test}/fsendfile.c | 0 {tests => test}/lfile.c | 0 {tests => test}/makepath.c | 0 {tests => test}/pidfile.c | 0 {tests => test}/printhdr.c | 0 {tests => test}/progress.c | 0 {tests => test}/rsync.c | 0 {tests => test}/str.c | 0 {tests => test}/strmatch.c | 0 {tests => test}/systemf.c | 0 {tests => test}/tempfile.c | 0 {tests => test}/touch.c | 0 {tests => test}/which.c | 0 {tests => test}/yorn.c | 0 39 files changed, 3 insertions(+), 3 deletions(-) rename {tests => test}/.gitignore (100%) rename {tests => test}/Makefile.am (100%) rename {tests => test}/check.h (100%) rename {tests => test}/chomp.c (100%) rename {tests => test}/copyfile.c (100%) rename {tests => test}/data/fexist/broken-link (100%) rename {tests => test}/data/fexist/dir/.placeholder (100%) rename {tests => test}/data/fexist/executable (100%) rename {tests => test}/data/fexist/link (100%) rename {tests => test}/data/fexist/regular (100%) rename {tests => test}/data/lfile/fstab (100%) rename {tests => test}/data/lfile/group (100%) rename {tests => test}/data/lfile/passwd (100%) rename {tests => test}/data/lfile/protocols (100%) rename {tests => test}/data/lfile/services (100%) rename {tests => test}/data/which/executable (100%) rename {tests => test}/data/which/executable-link (100%) rename {tests => test}/data/which/regular (100%) rename {tests => test}/dir.c (100%) rename {tests => test}/fexist.c (100%) rename {tests => test}/fisdir.c (100%) rename {tests => test}/fopenf.c (100%) rename {tests => test}/fsendfile.c (100%) rename {tests => test}/lfile.c (100%) rename {tests => test}/makepath.c (100%) rename {tests => test}/pidfile.c (100%) rename {tests => test}/printhdr.c (100%) rename {tests => test}/progress.c (100%) rename {tests => test}/rsync.c (100%) rename {tests => test}/str.c (100%) rename {tests => test}/strmatch.c (100%) rename {tests => test}/systemf.c (100%) rename {tests => test}/tempfile.c (100%) rename {tests => test}/touch.c (100%) rename {tests => test}/which.c (100%) rename {tests => test}/yorn.c (100%) diff --git a/Makefile.am b/Makefile.am index 79892f6..37591a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ doc_DATA = README.md LICENSE ChangeLog.md EXTRA_DIST = README.md LICENSE ChangeLog.md pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libite.pc -SUBDIRS = src tests +SUBDIRS = src test ## Check if tagged in git release-hook: diff --git a/configure.ac b/configure.ac index a767031..1e65d59 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR(src/lite.h) AC_CONFIG_HEADERS(config.h) -AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile libite.pc]) +AC_CONFIG_FILES([Makefile src/Makefile test/Makefile libite.pc]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC diff --git a/debian/copyright b/debian/copyright index 79e8929..f8d0cc6 100644 --- a/debian/copyright +++ b/debian/copyright @@ -124,5 +124,5 @@ Files: yorn.c Copyright: 2009-2021 Joachim Wiberg License: ISC -Files: tests/*.c +Files: test/*.c License: public-domain diff --git a/tests/.gitignore b/test/.gitignore similarity index 100% rename from tests/.gitignore rename to test/.gitignore diff --git a/tests/Makefile.am b/test/Makefile.am similarity index 100% rename from tests/Makefile.am rename to test/Makefile.am diff --git a/tests/check.h b/test/check.h similarity index 100% rename from tests/check.h rename to test/check.h diff --git a/tests/chomp.c b/test/chomp.c similarity index 100% rename from tests/chomp.c rename to test/chomp.c diff --git a/tests/copyfile.c b/test/copyfile.c similarity index 100% rename from tests/copyfile.c rename to test/copyfile.c diff --git a/tests/data/fexist/broken-link b/test/data/fexist/broken-link similarity index 100% rename from tests/data/fexist/broken-link rename to test/data/fexist/broken-link diff --git a/tests/data/fexist/dir/.placeholder b/test/data/fexist/dir/.placeholder similarity index 100% rename from tests/data/fexist/dir/.placeholder rename to test/data/fexist/dir/.placeholder diff --git a/tests/data/fexist/executable b/test/data/fexist/executable similarity index 100% rename from tests/data/fexist/executable rename to test/data/fexist/executable diff --git a/tests/data/fexist/link b/test/data/fexist/link similarity index 100% rename from tests/data/fexist/link rename to test/data/fexist/link diff --git a/tests/data/fexist/regular b/test/data/fexist/regular similarity index 100% rename from tests/data/fexist/regular rename to test/data/fexist/regular diff --git a/tests/data/lfile/fstab b/test/data/lfile/fstab similarity index 100% rename from tests/data/lfile/fstab rename to test/data/lfile/fstab diff --git a/tests/data/lfile/group b/test/data/lfile/group similarity index 100% rename from tests/data/lfile/group rename to test/data/lfile/group diff --git a/tests/data/lfile/passwd b/test/data/lfile/passwd similarity index 100% rename from tests/data/lfile/passwd rename to test/data/lfile/passwd diff --git a/tests/data/lfile/protocols b/test/data/lfile/protocols similarity index 100% rename from tests/data/lfile/protocols rename to test/data/lfile/protocols diff --git a/tests/data/lfile/services b/test/data/lfile/services similarity index 100% rename from tests/data/lfile/services rename to test/data/lfile/services diff --git a/tests/data/which/executable b/test/data/which/executable similarity index 100% rename from tests/data/which/executable rename to test/data/which/executable diff --git a/tests/data/which/executable-link b/test/data/which/executable-link similarity index 100% rename from tests/data/which/executable-link rename to test/data/which/executable-link diff --git a/tests/data/which/regular b/test/data/which/regular similarity index 100% rename from tests/data/which/regular rename to test/data/which/regular diff --git a/tests/dir.c b/test/dir.c similarity index 100% rename from tests/dir.c rename to test/dir.c diff --git a/tests/fexist.c b/test/fexist.c similarity index 100% rename from tests/fexist.c rename to test/fexist.c diff --git a/tests/fisdir.c b/test/fisdir.c similarity index 100% rename from tests/fisdir.c rename to test/fisdir.c diff --git a/tests/fopenf.c b/test/fopenf.c similarity index 100% rename from tests/fopenf.c rename to test/fopenf.c diff --git a/tests/fsendfile.c b/test/fsendfile.c similarity index 100% rename from tests/fsendfile.c rename to test/fsendfile.c diff --git a/tests/lfile.c b/test/lfile.c similarity index 100% rename from tests/lfile.c rename to test/lfile.c diff --git a/tests/makepath.c b/test/makepath.c similarity index 100% rename from tests/makepath.c rename to test/makepath.c diff --git a/tests/pidfile.c b/test/pidfile.c similarity index 100% rename from tests/pidfile.c rename to test/pidfile.c diff --git a/tests/printhdr.c b/test/printhdr.c similarity index 100% rename from tests/printhdr.c rename to test/printhdr.c diff --git a/tests/progress.c b/test/progress.c similarity index 100% rename from tests/progress.c rename to test/progress.c diff --git a/tests/rsync.c b/test/rsync.c similarity index 100% rename from tests/rsync.c rename to test/rsync.c diff --git a/tests/str.c b/test/str.c similarity index 100% rename from tests/str.c rename to test/str.c diff --git a/tests/strmatch.c b/test/strmatch.c similarity index 100% rename from tests/strmatch.c rename to test/strmatch.c diff --git a/tests/systemf.c b/test/systemf.c similarity index 100% rename from tests/systemf.c rename to test/systemf.c diff --git a/tests/tempfile.c b/test/tempfile.c similarity index 100% rename from tests/tempfile.c rename to test/tempfile.c diff --git a/tests/touch.c b/test/touch.c similarity index 100% rename from tests/touch.c rename to test/touch.c diff --git a/tests/which.c b/test/which.c similarity index 100% rename from tests/which.c rename to test/which.c diff --git a/tests/yorn.c b/test/yorn.c similarity index 100% rename from tests/yorn.c rename to test/yorn.c