Skip to content

Commit

Permalink
Revamp @define #140 : test for var in pg dependency argument
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Sep 23, 2023
1 parent d0e1098 commit f20efeb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions tests/28_revamp_define.tush
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ $ cd "$MYDIR"; ./$MAKESURE -f tests/28_revamp_define_1.sh -l
| g4
| g5
| g6
| g7
| pg@Value
| pg@Str1
| pg2@Str1
| pg@Str
| pg2@Value
| pg2@Str
| 'pg@the Value'

$ cd "$MYDIR"; ./$MAKESURE -f tests/28_revamp_define_1.sh g1
| goal 'pg@Value' ...
Expand Down Expand Up @@ -58,3 +60,7 @@ $ cd "$MYDIR"; ./$MAKESURE -f tests/28_revamp_define_1.sh g6
| goal 'pg2@Str' [empty].
| goal 'g6' [empty].

$ cd "$MYDIR"; ./$MAKESURE -f tests/28_revamp_define_1.sh g7
| goal 'pg@the Value' ...
| A=the Value
| goal 'g7' [empty].
3 changes: 2 additions & 1 deletion tests/28_revamp_define_1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
@goal g6
@depends_on pg2 @args 'Str'


@goal g7
@depends_on pg @args "the $VAR"

0 comments on commit f20efeb

Please sign in to comment.