File: remove.sh

package info (click to toggle)
galera-4 26.4.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,968 kB
  • sloc: cpp: 133,534; ansic: 12,171; sh: 1,446; tcl: 51; makefile: 19
file content (18 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Routines to remove test distribution from nodes
#

remove_cmd()
{
    local node=${@:$#}
    local dirn="${NODE_TEST_DIR[$node]}"
    echo -n 'rm -rf '"$dirn"'/*'
}

remove()
{
    start_jobs remove_cmd

    wait_jobs
}