# Test suite for Local_to_global. # Copyright (C) 1998-1999, 2002-2003 Lysator Academic Computer Association. # # This file is part of the LysKOM server. # # LysKOM is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 1, or (at your option) # any later version. # # LysKOM is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with LysKOM; see the file COPYING. If not, write to # Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN, # or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, # MA 02139, USA. # # Please report bugs at http://bugzilla.lysator.liu.se/. # Ensure that iterators don't return too much when things have been deleted. l2g_start l2g_send "I0" l2g_send "a0 10 1010" l2g_send "i0" simple_expect "10:1010" "test 1" l2g_send "b0 0 200" simple_expect "10:1010" "test 1-2" l2g_send "i0 3 8" # There is nothing in the range [3..8), so no output should exist here. l2g_send "b0 3 8" # There is nothing in the range [3..8), so no output should exist here. l2g_send "a0 20 2020" l2g_send "i0" simple_expect "10:1010" "test 2" simple_expect "20:2020" "test 3" l2g_send "b0 0 21" simple_expect "20:2020" "test 3-2" simple_expect "10:1010" "test 2-2" l2g_send "i0 3 8" l2g_send "i0 3 10" l2g_send "i0 11 20" l2g_send "i0 2 12" simple_expect "10:1010" "test 4" l2g_send "b0 3 8" l2g_send "b0 3 10" l2g_send "b0 11 20" l2g_send "b0 2 12" simple_expect "10:1010" "test 5-2" l2g_send "b0 0 20" simple_expect "10:1010" "test 6" l2g_send "D0" l2g_stop