From ebc2c400763d0a2cbf092534150b3cd6744d51f9 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 10 Jun 2019 08:20:40 -0700 Subject: kill: add trivial -l tests. (`kill -l HUP` and `kill -l 1` both said "HUP" instead of giving you back the one you didn't provide, before my real-time signal patch.) --- tests/kill.test | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/kill.test (limited to 'tests') diff --git a/tests/kill.test b/tests/kill.test new file mode 100644 index 00000000..a91dd55a --- /dev/null +++ b/tests/kill.test @@ -0,0 +1,8 @@ +#!/bin/bash + +[ -f testing.sh ] && . testing.sh + +#testing "name" "command" "result" "infile" "stdin" + +testing "-l HUP" "kill -l HUP" "1\n" "" "" +testing "-l 1" "kill -l 1" "HUP\n" "" "" -- cgit v1.2.3