Skip to content

Commit a4ef597

Browse files
committed
scalar: disable authentication in unattended mode
Modified to remove call to is_unattended() that has not been implemented yet. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 72bb021 commit a4ef597

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

t/t9210-scalar.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ test_description='test the `scalar` command'
77
GIT_TEST_MAINT_SCHEDULER="crontab:test-tool crontab cron.txt,launchctl:true,schtasks:true"
88
export GIT_TEST_MAINT_SCHEDULER
99

10+
# Do not write any files outside the trash directory
11+
Scalar_UNATTENDED=1
12+
export Scalar_UNATTENDED
13+
14+
GIT_ASKPASS=true
15+
export GIT_ASKPASS
16+
1017
test_expect_success 'scalar shows a usage' '
1118
test_expect_code 129 scalar -h
1219
'

0 commit comments

Comments
 (0)