#/bin/sh

set -ex

# virgin system should not have esm enabled
! ubuntu-advantage is-esm-enabled 

# help output should contain 'enable-esm' in it, and should be on stderr
ubuntu-advantage --help 2>&1 >/dev/null | grep enable-esm
