Compare commits

..

No commits in common. "a94884cc2ade776a86056bfa7e7716aa2674bf50" and "74d6ec16ac9d11f2bdf1817ecd7acc3526718a1b" have entirely different histories.

2 changed files with 1 additions and 28 deletions

View File

@ -8,13 +8,8 @@
.PRAGMA: command_comment .PRAGMA: command_comment
.PHONY: str_tests .PHONY: str_tests
str_tests: str_help str_isalpha str_tests: str_help
.PHONY: str_help .PHONY: str_help
str_help: $(BIN)/str str_help: $(BIN)/str
! $(BIN)/str -h ! $(BIN)/str -h
.PHONY: str_isalpha
str_isalpha: $(BIN)/str
$(BIN)/str isalpha c
! $(BIN)/str isalpha 3

View File

@ -1,22 +0,0 @@
# Copyright (c) 2024 DTB <trinity@trinity.moe>
# SPDX-License-Identifier: FSFAP
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and this
# notice are preserved. This file is offered as-is, without any warranty.
.PRAGMA: command_comment
.PHONY: swab_tests
swab_tests: swab_help swab_examples
.PHONY: swab_help
swab_help: $(BIN)/swab
! $(BIN)/swab -h
.PHONY: swab_examples
# These are the examples present in the man page.
swab_examples: $(BIN)/swab
printf 'hello world!\n' \
| $(BIN)/swab \
| xargs -I out test 'ehll oowlr!d' = out