File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -81,14 +81,13 @@ CASES
81
81
resholve --interpreter $INTERP < absolute_source.sh
82
82
CASES
83
83
84
- echo " source $PWD /tests/source_present_target.sh" > $PWD /tests/temp_source_test.sh
85
84
@test " allows exempted absolute source paths" {
86
85
require <( {
87
86
status 0
88
- line -1 ends " /tests/ source_present_target.sh"
87
+ line -1 ends " /source_present_target.sh"
89
88
})
90
89
} << CASES
91
- resholve --interpreter $INTERP --keep source:$PWD /tests/ source_present_target.sh < $PWD /tests/ temp_source_test.sh && rm $PWD /tests /temp_source_test.sh
90
+ { echo "source $PWD /source_present_target.sh" > $PWD /temp_source_test.sh; } && resholve --interpreter $INTERP --keep source:$PWD /source_present_target.sh < $PWD /temp_source_test.sh && rm $PWD /temp_source_test.sh
92
91
CASES
93
92
94
93
@test " allow (but do not parse) --fake 'source:path'" {
@@ -116,7 +115,7 @@ CASES
116
115
line -1 equals " [ stdinNone ]:2: Can't resolve dynamic command"
117
116
})
118
117
} << CASES
119
- resholve --interpreter $INTERP < $PWD /tests/ tilde_dynamic_pipeline.sh
118
+ resholve --interpreter $INTERP < tilde_dynamic_pipeline.sh
120
119
CASES
121
120
122
121
@test " allows exempted tilde executable paths" {
@@ -125,7 +124,7 @@ CASES
125
124
line -1 equals " # resholve: keep ~/.bashrc"
126
125
})
127
126
} << CASES
128
- resholve --interpreter $INTERP --keep '~/.bashrc' < $PWD /tests/ tilde_dynamic_pipeline.sh
127
+ resholve --interpreter $INTERP --keep '~/.bashrc' < tilde_dynamic_pipeline.sh
129
128
CASES
130
129
131
130
@test " allows --fake executable" {
You can’t perform that action at this time.
0 commit comments