~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to shell/hush_test/hush-misc/source_argv_and_shift.tests

  • Committer: mmach
  • Date: 2021-04-14 13:54:24 UTC
  • Revision ID: netbit73@gmail.com-20210414135424-8x3fxf716zs4wflb
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
echo 'echo sourced_arg1:$1' >sourced1
 
2
echo 'shift' >>sourced1
 
3
 
 
4
set -- 1
 
5
. ./sourced1
 
6
echo arg1:$1
 
7
 
 
8
set -- 1
 
9
. ./sourced1 a
 
10
echo arg1:$1
 
11
 
 
12
rm sourced1