logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git

logname.sh (312B)


  1. #!/bin/sh
  2. # SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. # SPDX-License-Identifier: MPL-2.0
  4. target="$(dirname "$0")/../cmd/logname"
  5. plans=1
  6. . "$(dirname "$0")/tap.sh"
  7. if ! test -n "${LOGNAME}"; then
  8. skip basic '$LOGNAME not set (wtf)'
  9. else
  10. t basic '' "${LOGNAME}
  11. "
  12. fi