From e013385a582260bc8aa4ae8f736c18f60d43ce85 Mon Sep 17 00:00:00 2001 From: Sidharth Kshatriya Date: Tue, 14 Dec 2021 16:49:39 +0530 Subject: [PATCH] The `enabled` check was actually was not being run by the test infrastructure. Now that it is, we get the following error when trying to execute `test/compose/select-display-columns` ```sh ./enabled: 2: [: 4: unexpected operator ``` This commit fixes the enabled check --- test/compose/select-display-columns/enabled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compose/select-display-columns/enabled b/test/compose/select-display-columns/enabled index 704f6e2a..da258b4e 100755 --- a/test/compose/select-display-columns/enabled +++ b/test/compose/select-display-columns/enabled @@ -1,2 +1,2 @@ #!/bin/sh -[ $(echo -n "😄😊😉😍" | wc -m) == 4 ] && locale | grep LC_CTYPE | grep -qi 'utf-*8' +[ $(echo -n "😄😊😉😍" | wc -m) = '4' ] && locale | grep LC_CTYPE | grep -qi 'utf-*8'