Skip to content

Commit

Permalink
scalar: disable authentication in unattended mode
Browse files Browse the repository at this point in the history
Modified to remove call to is_unattended() that has not been implemented
yet.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
dscho committed Oct 4, 2022
1 parent 392ec51 commit 13601c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/t9210-scalar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ test_description='test the `scalar` command'
GIT_TEST_MAINT_SCHEDULER="crontab:test-tool crontab cron.txt,launchctl:true,schtasks:true"
export GIT_TEST_MAINT_SCHEDULER

# Do not write any files outside the trash directory
Scalar_UNATTENDED=1
export Scalar_UNATTENDED

GIT_ASKPASS=true
export GIT_ASKPASS

test_expect_success 'scalar shows a usage' '
test_expect_code 129 scalar -h
'
Expand Down

0 comments on commit 13601c0

Please sign in to comment.