logo

utils

Old programs, got split in utils-std and utils-extra git clone https://hacktivis.me/git/utils.git

mdate (330B)


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