diff --git a/setup.cfg b/setup.cfg
index 760a761..e4af65a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,7 +3,7 @@ name = PNU
description = The PNU Project
long_description = file: README.md
long_description_content_type = text/markdown
-version = 2021.8.25
+version = 2022.3.17
license = BSD 3-Clause License
license_files = License
author = Hubert Tournier
@@ -31,6 +31,7 @@ classifiers =
Programming Language :: Python :: 3.10
Topic :: Education
Topic :: Education :: Testing
+ Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Testing
Topic :: System
@@ -47,15 +48,21 @@ install_requires =
pnu-anagram
pnu-b2bt
pnu-basename
+ pnu-conjuguer
+ pnu-dcmp
pnu-echobox
pnu-fortune
+ pnu-ident
+ pnu-manpath
pnu-mtoc
pnu-ngc
pnu-prep
pnu-rot13
pnu-strfile
+ pnu-strings
pnu-true
pnu-unicode2ascii
+ pnu-what
[options.data_files]
share/PNU =
@@ -64,8 +71,12 @@ share/PNU =
tests/echo.xml
tests/factor.xml
tests/false.xml
+ tests/ident.xml
+ tests/manpath.xml
tests/prep.xml
tests/primes.xml
+ tests/rot13.xml
tests/true.xml
+ tests/what.xml
tests/yes.xml
diff --git a/tests/ident.xml b/tests/ident.xml
new file mode 100644
index 0000000..2388dba
--- /dev/null
+++ b/tests/ident.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+ ident /usr/bin/unifdef
+
+
+
+
+
+ ident /bin/tcsh
+
+
+
+
+
+ ident /usr/bin/unifdef /usr/bin/file
+
+
+
+
+
+ ident
+
+
+
+
+
+ cat /usr/bin/unifdef | ident
+
+
+
+
+
+ cat /bin/tcsh | ident
+
+
+
+
+
+ ident -q /bin/tcsh
+
+
+
+
+
+ IDENT_FLAVOUR=gnu:linux ident -V
+
+
+
+
+
+ IDENT_FLAVOUR=bsd:freebsd ident -V
+
+
+
+
+
+ ident -- /usr/bin/unifdef
+
+
+
+
+
+ ident -i
+
+
+
+
+
+ ident nonexistent
+
+
+
+
+
+ touch empty_file
+
+
+ ident empty_file
+
+
+
+
diff --git a/tests/manpath.xml b/tests/manpath.xml
new file mode 100644
index 0000000..a0accd7
--- /dev/null
+++ b/tests/manpath.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+ unset MANPATH ; manpath
+
+
+
+
+
+ unset MANPATH ; manpath -d
+
+
+
+
+
+ unset MANPATH ; manpath -dd
+
+
+
+
+
+ unset MANPATH ; manpath -ddd
+
+
+
+
+
+ unset PATH ; unset MANPATH ; manpath -dd
+
+
+
+
+
+ MANPATH=/usr/share/man manpath -d
+
+
+
+
+
+ MANPATH=/usr/share/man manpath -qd
+
+
+
+
+
+ unset MANLOCALES ; manpath -L
+
+
+
+
+
+ unset MANLOCALES ; manpath -Ld
+
+
+
+
+
+ unset MANLOCALES ; manpath -Ldd
+
+
+
+
+
+ unset MANLOCALES ; manpath -Lddd
+
+
+
+
+
+ MANLOCALES=fr_FR.UTF-8 manpath -Ld
+
+
+
+
+
+ MANLOCALES=fr_FR.UTF-8 manpath -Lqd
+
+
+
+
+
+ manpath -i
+
+
+
+
diff --git a/tests/rot13.xml b/tests/rot13.xml
new file mode 100644
index 0000000..e8745a3
--- /dev/null
+++ b/tests/rot13.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+ echo test | rot13
+
+
+
+
+
+ echo test | rot13 | rot13
+
+
+
+
+
+ rot13
+
+
+
+
+
+ ROT13_FLAVOUR=bsd:freebsd rot13 /etc/passwd
+
+
+
+
+
+ ROT13_FLAVOUR=bsd:freebsd rot13 "my secret"
+
+
+
+
+
+ ROT13_FLAVOUR=bsd:freebsd rot13 -i
+
+
+
+
diff --git a/tests/what.xml b/tests/what.xml
new file mode 100644
index 0000000..4f5e54c
--- /dev/null
+++ b/tests/what.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+ what /usr/bin/unifdef
+
+
+
+
+
+ what /usr/bin/unifdef /usr/bin/file
+
+
+
+
+
+ what
+
+
+
+
+
+ cat /usr/bin/unifdef | what
+
+
+
+
+
+ what -s /usr/bin/unifdef
+
+
+
+
+
+ what -q /usr/bin/unifdef
+
+
+
+
+
+ what -qs -- /usr/bin/unifdef
+
+
+
+
+
+ what -i
+
+
+
+
+
+ what nonexistent
+
+
+
+
+
+ touch empty_file
+
+
+ what empty_file
+
+
+
+
+
+ POSIXLY_CORRECT=true what -q /usr/bin/unifdef
+
+
+
+