logo

utils-std

Collection of commonly available Unix tools

logname.t (282B)


  1. #!/usr/bin/env cram
  2. # SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. # SPDX-License-Identifier: MPL-2.0
  4. $ export PATH="$TESTDIR/../cmd:$PATH"
  5. $ test "$(command -v logname)" = "$TESTDIR/../cmd/logname"
  6. $ test "$(id -un)" = "$(logname)"