diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-11-18 00:57:01 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-11-18 00:58:13 +0100 |
commit | 844fdd42f03a633f1dbce5d90b2ecf44698cf8b0 (patch) | |
tree | 1255d42327bb297b12dfd4e7adfd81e3fbea6762 /tests/libutil/Makemodule.am | |
parent | da6eadc840716eb29b0175f39b2790bba166db4a (diff) |
Add a single, central base64 decoder
Similar to the hex blob decoder, we need this once for tar and
once for the filemap xattr parser.
Simply add a single, central implementation to libutil, with a
simple unit test, and then use it in both libtar and gensquashfs.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libutil/Makemodule.am')
-rw-r--r-- | tests/libutil/Makemodule.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libutil/Makemodule.am b/tests/libutil/Makemodule.am index 5a69de4..724af50 100644 --- a/tests/libutil/Makemodule.am +++ b/tests/libutil/Makemodule.am @@ -33,10 +33,13 @@ test_sdate_epoch_LDADD = libutil.a libcompat.a test_hex_decode_SOURCES = tests/libutil/hex_decode.c test_hex_decode_LDADD = libutil.a libcompat.a +test_base64_decode_SOURCES = tests/libutil/base64_decode.c +test_base64_decode_LDADD = libutil.a libcompat.a + LIBUTIL_TESTS = \ test_str_table test_rbtree test_xxhash test_threadpool test_ismemzero \ test_canonicalize_name test_filename_sane test_filename_sane_w32 \ - test_sdate_epoch test_hex_decode + test_sdate_epoch test_hex_decode test_base64_decode check_PROGRAMS += $(LIBUTIL_TESTS) TESTS += $(LIBUTIL_TESTS) |