Azure / Azure/arm-ttk

Test-AzTemplate.sh - CRLF

Open
#341 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
468
Forks
208
PR merge metrics
No merged PRs in 30d

Description

Running Test-AzTemplate.sh on an ADO Ubuntu build agent fails with the error:

`./arm-ttk/Test-AzTemplate.sh: /bin/sh^M: bad interpreter: No such file or directory`

On checking the file is formatted with CRLF. Edited with vi -b and removing the ^M characters the script wrapper runs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with arm-ttk/Test-AzTemplate.sh and inspect its line endings, as the issue reports CRLF formatting and a /bin/sh^M interpreter error. Normalize the script to LF and run Test-AzTemplate.sh on an Ubuntu build agent; done means the wrapper starts without the bad-interpreter error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell, ubuntu
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.