bonsix/tests/bonsai/strcmp.sh

17 lines
490 B
Bash
Raw Normal View History

2024-04-24 14:58:35 -06:00
#!/bin/sh
# Copyright (c) 2024 DTB <trinity@trinity.moe>
# Copyright (c) 2024 Emma Tebibyte <emma@tebibyte.media>
# 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.
. tests/bonsai/test_env
2024-04-24 14:58:35 -06:00
strcmp equals equals
! strcmp inequals equals
strcmp - -
! strcmp -h
2024-04-24 14:58:35 -06:00
! strcmp nocmp