2021-05-09 14:50:17 +02:00
|
|
|
#shellcheck shell=sh
|
|
|
|
|
2021-05-09 19:27:07 +02:00
|
|
|
Describe 'AstrXbian'
|
2022-06-26 20:47:28 +02:00
|
|
|
Describe 'install.sh'
|
|
|
|
Include ./include.sh
|
2021-05-31 00:10:07 +02:00
|
|
|
It 'should check it applies to me'
|
2021-05-09 19:27:07 +02:00
|
|
|
When call i_am
|
2022-06-26 20:47:28 +02:00
|
|
|
The output should eq 'v0.5.0'
|
2021-05-09 19:27:07 +02:00
|
|
|
End
|
2021-05-31 00:10:07 +02:00
|
|
|
It 'should check I am not superuser'
|
2021-05-09 19:27:07 +02:00
|
|
|
When call i_am_root
|
|
|
|
The status should not be success
|
|
|
|
End
|
2021-06-09 00:55:20 +02:00
|
|
|
It 'should check I need to install'
|
2021-05-12 18:47:13 +02:00
|
|
|
When call i_should_install
|
2021-05-12 18:12:02 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2021-05-12 19:15:43 +02:00
|
|
|
It 'should check requirements, but not tested'
|
2021-06-09 00:55:20 +02:00
|
|
|
Skip "You should implement check_requirements tests"
|
|
|
|
When run check_requirements
|
2021-05-12 19:15:43 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2022-06-26 20:47:28 +02:00
|
|
|
It 'should import astrXbian, but not tested'
|
2021-06-09 00:55:20 +02:00
|
|
|
Skip "You should implement import_astrXbian tests"
|
|
|
|
When run import_astrXbian
|
2021-05-12 18:12:02 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2022-06-26 20:47:28 +02:00
|
|
|
It 'should import astroport, but not tested'
|
|
|
|
Skip "You should implement import_astroport tests"
|
|
|
|
When run import_astroport
|
2021-05-12 18:12:02 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2021-05-15 18:31:46 +02:00
|
|
|
It 'should import IPFS, but not tested'
|
2021-06-09 00:55:20 +02:00
|
|
|
Skip "You should implement import_ipfs tests"
|
|
|
|
When run import_ipfs
|
2021-05-15 18:31:46 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
|
|
|
It 'should import Jaklis, but not tested'
|
2021-06-09 00:55:20 +02:00
|
|
|
Skip "You should implement import_jaklis tests"
|
|
|
|
When run import_jaklis
|
2021-05-13 15:28:46 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2022-06-26 20:47:28 +02:00
|
|
|
It 'should import Kodi, but not tested'
|
|
|
|
Skip "You should implement import_kodi tests"
|
|
|
|
When run import_kodi
|
2021-05-13 15:28:46 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2021-05-15 18:31:46 +02:00
|
|
|
It 'should prepare astrXbian for first boot, but not tested'
|
2021-06-09 00:55:20 +02:00
|
|
|
Skip "You should implement prepare_next_boot tests"
|
|
|
|
When run prepare_next_boot
|
2021-05-15 18:31:46 +02:00
|
|
|
The status should be success
|
|
|
|
End
|
2021-05-09 14:50:17 +02:00
|
|
|
End
|
|
|
|
End
|