components/text-utilities/patches/tests.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 03 Mar 2015 11:01:06 -0800
changeset 3897 cd126ba3fdda
parent 2129 bf833e1aa881
permissions -rw-r--r--
20623340 text-utilities should be updated to version 2.25.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3897
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
     1
Changes needed to make the tailf tests work correctly.
2129
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
These will be passed upstream.
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
3897
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
     5
--- util-linux-2.25.2/tests/ts/tailf/simple.orig	2015-02-16 18:13:47.493114932 -0800
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
     6
+++ util-linux-2.25.2/tests/ts/tailf/simple	2015-03-01 15:18:29.040656789 -0800
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
     7
@@ -27,9 +27,9 @@
2129
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
 
3897
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
     9
 $TS_CMD_TAILF $INPUT > $TS_OUTPUT 2>&1 &
2129
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 
3897
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
    11
-sleep 0.5
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
    12
+sleep 0.1
2129
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 echo {0..9} >> $INPUT
3897
cd126ba3fdda 20623340 text-utilities should be updated to version 2.25.2
Rich Burridge <rich.burridge@oracle.com>
parents: 2129
diff changeset
    14
-sleep 0.5
2129
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
+sleep 0.2
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
 
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
 rm -f $INPUT
bf833e1aa881 PSARC 2014/170 text-utilities version 2.24.2
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18