From 2824100803be395bc7dd238ad78ef786abf3dbd7 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Wed, 20 Jan 2021 16:17:20 +0800 Subject: [PATCH] Fix sentinel FD leak test, checking the wrong OS name (#8364) --- tests/sentinel/tests/includes/notify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sentinel/tests/includes/notify.sh b/tests/sentinel/tests/includes/notify.sh index 09a8addca..2365f1d3a 100755 --- a/tests/sentinel/tests/includes/notify.sh +++ b/tests/sentinel/tests/includes/notify.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash OS=`uname -s` -if [ ${OS} == "Linux" ] +if [ ${OS} != "Linux" ] then exit 0 fi