#!%(python_path)s
# BEWARE: This file is operated by slapos node
# BEWARE: It will be overwritten automatically
from __future__ import print_function
import socket
import sys

value = %(value)r
expected = %(expected-value)r
not_expected = %(expected-not-value)r

if expected != "" and value != expected:
  print("FAIL: %%s != %%s" %% (value, expected))
  sys.exit(127)

if not_expected != "" and value == not_expected:
  print("FAIL: %%s == %%s" %% (value, not_expected))
  sys.exit(127)
