mirror of
https://github.com/modelec/Initialisation.git
synced 2026-01-18 15:57:20 +01:00
test with .sh file
This commit is contained in:
5
test/test1.sh
Normal file
5
test/test1.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
echo "test1"
|
||||
done
|
||||
5
test/test2.sh
Normal file
5
test/test2.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
echo "test2"
|
||||
done
|
||||
5
test/test3.sh
Normal file
5
test/test3.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
echo "test3"
|
||||
done
|
||||
11
test/test4.sh
Normal file
11
test/test4.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Boucle pendant 10 secondes
|
||||
SECONDS=0
|
||||
while [ $SECONDS -lt 2 ]; do
|
||||
echo "test4"
|
||||
sleep 1
|
||||
done
|
||||
|
||||
# Quitter le programme
|
||||
exit 0
|
||||
Reference in New Issue
Block a user