Debian Codegraph @

debian/tests/run-basic-check

raw symbols SCIP
1 #!/bin/bash
2
3
4 echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
5 locale-gen
6 export LANG=en_US.UTF-8
7
8 set -e
9
10 test_uri_parse(){
11 echo "URI parse test"
12 /usr/bin/drbl-uriparse smb://jack:[email protected]:1911/to/new-york domain|grep titanic.com
13 }
14
15 test_grub_menu(){
16 echo "create client's grub menu test"
17 mkdir -p /tftpboot/nbi_img/grub/
18 /usr/sbin/gen-grub-efi-nb-menu
19 cat /tftpboot/nbi_img/grub/grub.cfg|grep menu
20 }
21
22 test_pxe_menu(){
23 echo "create client's pxe menu test"
24 mkdir -p /tftpboot/nbi_img/pxelinux.cfg/
25 /usr/sbin/generate-pxe-menu
26 cat /tftpboot/nbi_img/pxelinux.cfg/default|grep menu
27 }
28
29 test_drblsrv_offline_package_scan(){
30 echo "drblsrv-offline package scan test"
31 /sbin/drblsrv-offline -r
32 }
33 . shunit2
34