File: wol.exp

package info (click to toggle)
bash-completion 1%3A1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,508 kB
  • ctags: 24
  • sloc: exp: 5,659; sh: 741; makefile: 203; perl: 59
file content (29 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
proc setup {} {
    # See fixtures/shared/bin/{arp,ifconfig}
    assert_bash_exec {OLDPATH="$PATH"; PATH="$TESTDIR/fixtures/shared/bin:$PATH";}
    save_env
}; # setup()


proc teardown {} {
    assert_env_unmodified
    assert_bash_exec {PATH="$OLDPATH"; unset -v OLDPATH}
}; # teardown()


setup


assert_complete "00:00:00:00:00:00 11:11:11:11:11:11 22:22:22:22:22:22 33:33:33:33:33:33" "wol "


sync_after_int


assert_complete "00:00:00:00:00:00" "wol 00:"


sync_after_int


teardown