mkfifo.t (523B)
- #!/usr/bin/env cram
- # SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- # SPDX-License-Identifier: MPL-2.0
- $ export PATH="$TESTDIR/../cmd:$PATH"
- $ test "$(command -v mkfifo)" = "$TESTDIR/../cmd/mkfifo"
- $ mkfifo foo
- $ test -p foo
- $ rm foo
- $ touch exists
- $ mkfifo exists
- mkfifo: Failed creating FIFO at 'exists': File exists
- [1]
- $ rm exists
- $ mkfifo /dev/null/e/no/ent
- mkfifo: Failed creating FIFO at '/dev/null/e/no/ent': Not a directory
- [1]
- $ find .
- .