aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/runner/while.testscript
blob: 1c5882710ae53710543b990cdf93626b20eb1914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# file      : tests/test/script/runner/while.testscript
# license   : MIT; see accompanying LICENSE file

.include ../common.testscript

: basics
:
$c <<EOI && $b >>EOO
  while ($v != "aa")
    echo "$v" >|
    v = "$(v)a"
  end
  EOI

  a
  EOO