minishift / minishift-centos-iso

CentOS based ISO as an alternative for boot2docker ISO
GNU Lesser General Public License v3.0
40 stars 33 forks source link

Fix delete test case #172

Closed coolbrg closed 6 years ago

coolbrg commented 7 years ago

The delete test case is having unnecessary code

  $BINARY delete --force
  exit_with_message "$?" "Error deleting Minishift VM"
  output=`$BINARY status`
  if [ "$1" != "$2" ]; then
    echo "Expected '$1' equal to '$2'"
    exit 1
  fi
  print_success_message "Deleting VM"

The checking of status is unwanted and if condition is also wrong(bad copy paste).

LalatenduMohanty commented 6 years ago

Resolved via https://github.com/minishift/minishift-centos-iso/pull/175