summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/inetutils-drop-test.patch
blob: 3e1c79fe357474986ced5df972539ffd05fcb2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
To be remove when updating inetutils.
See
https://cgit.git.savannah.gnu.org/cgit/inetutils.git/commit/?id=556621adc3dcb62dbb28c54905cef15837947115
https://codeberg.org/guix/guix/issues/7995

diff --git a/tests/libls.sh b/tests/libls.sh
index 827020f2..9fdef8be 100755
--- a/tests/libls.sh
+++ b/tests/libls.sh
@@ -91,7 +91,6 @@ REPLY_a1=`$LS -a1 $LSDIR`
 REPLY_A1=`$LS -A1 $LSDIR`

 REPLY_C=`$LS -C $LSDIR`
-REPLY_Cf=`$LS -Cf $LSDIR`
 REPLY_Cr=`$LS -Cr $LSDIR`
 REPLY_Ct=`$LS -Ct $LSDIR`
 REPLY_x=`$LS -x $LSDIR`
@@ -130,9 +129,6 @@ test `echo "$diff" | $GREP -c -v '^[.]\{1,2\}$'` -eq 0 ||
     fi
   }

-test x"$REPLY_C" != x"$REPLY_Cf" ||
-  { errno=1; echo >&2 'Failed to disable sorting with "-f".'; }
-
 test x"$REPLY_C" != x"$REPLY_Cr" ||
   { errno=1; echo >&2 'Failed to reverse sorting with "-r".'; }