~vcs-imports-ii/dejagnu/master

« back to all changes in this revision

Viewing changes to runtest.exp

  • Committer: Jacob Bachmeyer
  • Date: 2023-04-21 02:24:32 UTC
  • Revision ID: git-v1:c298959ef991b389b64a825f70094738c6a48780
Fix handling of lists given as command-line parameters

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# runtest.exp -- Test framework driver
2
 
# Copyright (C) 1992-2019, 2020, 2022 Free Software Foundation, Inc.
 
2
# Copyright (C) 1992-2019, 2020, 2022, 2023 Free Software Foundation, Inc.
3
3
#
4
4
# This file is part of DejaGnu.
5
5
#
432
432
        variable cmd_var_list
433
433
 
434
434
        foreach {name value} $cmd_var_list {
435
 
            uplevel 1 set $name $value
 
435
            uplevel 1 [list set $name $value]
436
436
        }
437
437
        verbose "Variables set by command line arguments restored." 4
438
438
    }