File: test-io.sh.in

package info (click to toggle)
bashdb 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,820 kB
  • ctags: 942
  • sloc: sh: 10,581; lisp: 885; makefile: 449; ansic: 325
file content (20 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!@SH_PROG@
# -*- shell-script -*-

test_progress_show()
{
    local -i _Dbg_logging=0
    local -i _Dbg_logging_redirect=0
    local _Dbg_tty=''
    local EMACS=t
    local bar=$(_Dbg_progess_show foo 10 3)
    assertEquals 'foo: [============> ' "${bar:3:20}"
}

# load shunit2
top_srcdir=@abs_top_srcdir@
. ${top_srcdir}/lib/msg.sh
. ${top_srcdir}/dbg-io.sh

. ${top_srcdir}/test/unit/shunit2