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 authored and vdye committed Jul 19, 2023
1 parent b3749a1 commit df45a16
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 df45a16

Please sign in to comment.