File: test.sh

package info (click to toggle)
damo 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,604 kB
  • sloc: python: 15,364; sh: 1,071; makefile: 30; ansic: 13
file content (18 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

bindir=$(dirname "$0")
cd "$bindir"

testname=$(basename $(pwd))

for script in lru_sort.sh mem_tier.sh weighted_interleave.sh
do
	if ! sudo bash "./${script}" > /dev/null
	then
		echo "FAIL $testname $script"
		exit 1
	fi
	echo "PASS $testname $script"
done
echo "PASS $testname"