From abf236eac3625062e66a2dfda592bd96b4f51ba7 Mon Sep 17 00:00:00 2001 From: Zouhair AMAZZAL Date: Sat, 3 Dec 2022 00:55:22 +0100 Subject: [PATCH] test(head-and-tail): add shell type exec && fix permission to scripts --- sh/tests/head-and-tail_test.sh | 0 sh/tests/solutions/head-and-tail.sh | 2 ++ 2 files changed, 2 insertions(+) mode change 100644 => 100755 sh/tests/head-and-tail_test.sh diff --git a/sh/tests/head-and-tail_test.sh b/sh/tests/head-and-tail_test.sh old mode 100644 new mode 100755 diff --git a/sh/tests/solutions/head-and-tail.sh b/sh/tests/solutions/head-and-tail.sh index fdd1575fd..683ee97a7 100755 --- a/sh/tests/solutions/head-and-tail.sh +++ b/sh/tests/solutions/head-and-tail.sh @@ -1 +1,3 @@ +#!/usr/bin/env bash + curl --silent https://assets.01-edu.org/devops-branch/HeadTail.txt | head -1 && curl --silent https://assets.01-edu.org/devops-branch/HeadTail.txt | tail -1 \ No newline at end of file