Browse code

fix socat make check issue, disabling test case 302

Change-Id: I573183f7aa8bc55ea3814e8440c3e0917f00c788
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3810
Reviewed-by: Sharath George
Tested-by: Sharath George

Bo Gan authored on 2017/09/20 07:04:10
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,15 @@
0
+diff --git a/test.sh b/test.sh
1
+index 447febe..c5df498 100755
2
+--- a/test.sh
3
+@@ -12,8 +12,8 @@
4
+ #set -vx
5
+ 
6
+ val_t=0.1
7
+-NUMCOND=true
8
+-#NUMCOND="test \$N -gt 70"
9
++#disable test 302 https://bugzilla.redhat.com/show_bug.cgi?id=1454679
10
++NUMCOND="test \$N -ne 302"
11
+ VERBOSE=
12
+ while [ "$1" ]; do
13
+     case "X$1" in
... ...
@@ -1,13 +1,14 @@
1 1
 Summary:          Multipurpose relay (SOcket CAT)
2 2
 Name:             socat
3 3
 Version:          1.7.3.2
4
-Release:          3%{?dist}
4
+Release:          4%{?dist}
5 5
 License:          GPL2
6 6
 URL:              http://www.dest-unreach.org/socat
7 7
 Group:            Applications/Internet
8 8
 Vendor:           VMware, Inc.
9 9
 Distribution:     Photon
10 10
 Source0:          http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
11
+Patch0:           disable-test-302.patch
11 12
 %define sha1      socat=94e0003607fc1bf3af534f70831cf70bb944ab5d
12 13
 
13 14
 %description
... ...
@@ -15,6 +16,7 @@ Socat is a command line based utility that establishes two bidirectional byte st
15 15
 
16 16
 %prep
17 17
 %setup -q
18
+%patch0 -p1
18 19
 
19 20
 %build
20 21
 ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
... ...
@@ -38,6 +40,8 @@ rm -rf %{buildroot}/*
38 38
 %{_mandir}/man1/*
39 39
 
40 40
 %changelog
41
+*   Tue Sep 19 2017 Bo Gan <ganb@vmware.com> 1.7.3.2-4
42
+-   Disable test 302
41 43
 *   Tue Sep 12 2017 Xiaolin Li <xiaolinl@vmware.com> 1.7.3.2-3
42 44
 -   Fix make check issue.
43 45
 *   Tue May 02 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.7.3.2-2