-removing useless ifdefs
[oweals/gnunet.git] / src / arm / test_gnunet_arm.sh
index d36c2ca38180271337c30d28650e1a376a2d8946..4a5b7266dbed9e1365f29177fae6d62d203d9f8b 100755 (executable)
@@ -39,28 +39,6 @@ fi
 sleep 1
 echo "PASS"
 
-# ----------------------------------------------------------------------------------
-echo -n "TEST: Test -t on running service... "
-if ! $exe $DEBUG -t resolver > $out; then
-    echo "FAIL: error running $exe"
-    exit 1
-fi
-LINES=`cat $out | grep resolver | grep not | wc -l`
-if test $LINES -ne 0; then
-  echo "FAIL: unexpected output:"
-  cat $out
-  $exe -e
-  exit 1
-fi
-LINES=`cat $out | grep resolver | grep -v not | wc -l`
-if test $LINES -ne 1; then
-  echo "FAIL: unexpected output"
-  cat $out
-  $exe -e
-  exit 1
-fi
-echo "PASS"
-
 # ----------------------------------------------------------------------------------
 echo -n "TEST: Stop a service... "
 
@@ -72,23 +50,6 @@ fi
 sleep 1
 echo "PASS"
 
-# ----------------------------------------------------------------------------------
-echo -n "TEST: Test -t on stopped service... "
-if ! $exe $DEBUG -t resolver > $out; then
-  echo "FAIL: error running $exe"
-  cat $out
-  $exe -e > /dev/null
-  exit 1
-fi
-LINES=`cat $out | grep resolver | grep not | wc -l`
-if test $LINES -ne 1; then
-  echo "FAIL: unexpected output"
-  cat $out 
-  $exe -e > /dev/null
-  exit 1
-fi
-echo "PASS"
-
 # ----------------------------------------------------------------------------------
 echo -n "TEST: Stop ARM... "