2021-05-09 14:50:17 +02:00
|
|
|
#shellcheck shell=sh
|
|
|
|
|
2021-05-09 19:27:07 +02:00
|
|
|
Describe 'AstrXbian'
|
|
|
|
Describe 'install()'
|
|
|
|
Include ./include.sh
|
|
|
|
It 'should be me'
|
|
|
|
When call i_am
|
|
|
|
The output should eq 'v0.4'
|
|
|
|
End
|
|
|
|
It 'should not be superuser'
|
|
|
|
When call i_am_root
|
|
|
|
The status should not be success
|
|
|
|
End
|
|
|
|
It 'should install AstrXbian'
|
|
|
|
When call i_should_install
|
|
|
|
The status should be success
|
2021-05-09 14:50:17 +02:00
|
|
|
End
|
2021-05-12 18:12:02 +02:00
|
|
|
It 'should check requirements, but not tested'
|
|
|
|
Pending "You should implement check_requirements tests"
|
|
|
|
When call check_requirements
|
|
|
|
The status should be success
|
|
|
|
End
|
|
|
|
It 'should import AstrXbian, but not tested'
|
|
|
|
Pending "You should implement import_astrXbian tests"
|
|
|
|
When call import_astrXbian
|
|
|
|
The status should be success
|
|
|
|
End
|
|
|
|
It 'should import Kodi, but not tested'
|
|
|
|
Pending "You should implement import_kodi tests"
|
|
|
|
When call import_kodi
|
|
|
|
The status should be success
|
|
|
|
End
|
|
|
|
It 'should check IPFS, but not tested'
|
|
|
|
Pending "You should implement check_ipfs tests"
|
|
|
|
When call check_ipfs
|
|
|
|
The status should be success
|
|
|
|
End
|
|
|
|
It 'should check Jaklis, but not tested'
|
|
|
|
Pending "You should implement check_jaklis tests"
|
|
|
|
When call check_jaklis
|
|
|
|
The status should be success
|
|
|
|
End
|
2021-05-09 14:50:17 +02:00
|
|
|
End
|
|
|
|
End
|