Paul Wouters 491dd6
--- socat-1.7.2.4-orig/test.sh	2014-03-09 10:51:39.000000000 -0400
Paul Wouters 491dd6
+++ socat-1.7.2.4/test.sh	2014-04-08 19:14:21.871009224 -0400
Paul Wouters 491dd6
@@ -3713,11 +3713,13 @@
Paul Wouters 491dd6
 if [ "$MYPID" = "$MYPPID" -o "$MYPID" = "$MYPGID" -o "$MYPID" = "$MYSID" -o \
Paul Wouters 491dd6
      "$MYPPID" = "$MYPGID" -o "$MYPPID" = "$MYSID" -o "$MYPGID" = "$MYSID" ];
Paul Wouters 491dd6
 then
Paul Wouters 491dd6
-    $PRINTF "$FAILED:\n"
Paul Wouters 491dd6
-    echo "$CMD"
Paul Wouters 491dd6
-    cat "$te"
Paul Wouters 491dd6
-    numFAIL=$((numFAIL+1))
Paul Wouters 491dd6
-    listFAIL="$listFAIL $N"
Paul Wouters 491dd6
+    $PRINTF "test $F_n $TEST... ${YELLOW}skipped - fails in mock ${NORMAL}\n" $N
Paul Wouters 491dd6
+    numCANT=$((numCANT+1))
Paul Wouters 491dd6
+    #$PRINTF "$FAILED:\n"
Paul Wouters 491dd6
+    #echo "$CMD"
Paul Wouters 491dd6
+    #cat "$te"
Paul Wouters 491dd6
+    #numFAIL=$((numFAIL+1))
Paul Wouters 491dd6
+    #listFAIL="$listFAIL $N"
Paul Wouters 491dd6
 else
Paul Wouters 491dd6
     $PRINTF "$OK\n"
Paul Wouters 491dd6
    numOK=$((numOK+1))
Paul Wouters 491dd6
@@ -4218,7 +4220,11 @@
Paul Wouters 491dd6
 elif ! testaddrs listen tcp ip4 >/dev/null || ! runsip4 >/dev/null; then
Paul Wouters 491dd6
     $PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv4 not available${NORMAL}\n" $N
Paul Wouters 491dd6
     numCANT=$((numCANT+1))
Paul Wouters 491dd6
+elif test -n "not-empty"; then
Paul Wouters 491dd6
+    $PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv4 external network test skipped${NORMAL}\n" $N
Paul Wouters 491dd6
+    numCANT=$((numCANT+1))
Paul Wouters 491dd6
 else
Paul Wouters 491dd6
+# never called
Paul Wouters 491dd6
 tf="$td/test$N.stdout"
Paul Wouters 491dd6
 te="$td/test$N.stderr"
Paul Wouters 491dd6
 tdiff="$td/test$N.diff"
Paul Wouters 491dd6
@@ -4263,7 +4269,11 @@
Paul Wouters 491dd6
 elif ! testaddrs listen tcp ip6 >/dev/null || ! runsip6 >/dev/null; then
Paul Wouters 491dd6
     $PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv6 not available${NORMAL}\n" $N
Paul Wouters 491dd6
     numCANT=$((numCANT+1))
Paul Wouters 491dd6
+elif test -n "not-empty"; then
Paul Wouters 491dd6
+    $PRINTF "test $F_n $TEST... ${YELLOW}TCP/IPv4 external network test skipped${NORMAL}\n" $N
Paul Wouters 491dd6
+    numCANT=$((numCANT+1))
Paul Wouters 491dd6
 else
Paul Wouters 491dd6
+# never called
Paul Wouters 491dd6
 tf="$td/test$N.stdout"
Paul Wouters 491dd6
 te="$td/test$N.stderr"
Paul Wouters 491dd6
 tdiff="$td/test$N.diff"