###############################################################################
#
# garbage.eagle --
#
# Extensible Adaptable Generalized Logic Engine (Eagle)
#
# Copyright (c) 2007-2012 by Joe Mistachkin.  All rights reserved.
#
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# RCS: @(#) $Id: $
#
###############################################################################

source [file join [file normalize [file dirname [info script]]] prologue.eagle]

###############################################################################

runTest {test garbage-1.1 {garbage in, garbage out} -setup {
  catch {rename asdf ""}
} -body {
  list [catch {source [file join $test_data_path garbage.txt]} msg] $msg
} -cleanup {
  unset msg
} -constraints {file_garbage.txt} -result {1 {invalid command name "asdf"}}}

###############################################################################

source [file join [file normalize [file dirname [info script]]] epilogue.eagle]
