logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git

mdate (351B)


  1. #!/usr/bin/env atf-sh
  2. # SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
  4. atf_test_case basic
  5. basic_body() {
  6. atf_check -o "match:^[0-9A-F]+,[0-9A-F]+$" ../bin/mdate
  7. }
  8. atf_init_test_cases() {
  9. cd "$(atf_get_srcdir)" || exit 1
  10. atf_add_test_case basic
  11. }