We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4489478 commit 30c5e88Copy full SHA for 30c5e88
my-test-script.sh
@@ -10,17 +10,19 @@ date -u
10
set -e ## Exit when any command fails
11
set -x ## Echo commands
12
13
+## Get the NuttX Hash (Commit ID)
14
+nuttx_hash=$(git rev-parse HEAD)
15
git status
16
TZ=UTC0 \
17
git --no-pager \
18
log -1 \
19
--date='format-local:%Y-%m-%dT%H:%M:%S' \
20
--format="%cd | %H | %s"
-nuttx_hash=$(git rev-parse HEAD)
21
22
## Visualise the Git Bisect
23
git bisect log
24
25
+## Randomly simulate OK or Error
26
random_0_or_1=$(( $RANDOM % 2 ))
27
if (( "$random_0_or_1" == "0" )); then
28
set +x ; echo "**** Simulate Error" ; set -x
0 commit comments