File: clean.sh

package info (click to toggle)
transfuse 0.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 548 kB
  • sloc: cpp: 4,385; sh: 14; python: 12; makefile: 9
file content (8 lines) | stat: -rwxr-xr-x 266 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/bash
set -e
set -o pipefail

rm -rf "$5/clean-$3-$4" "clean-$3-$4.out" "clean-$3-$4.err"
"$1" -v -m clean -K -d "$5/clean-$3-$4" -s "$4" "$2/test.$3" "clean-$3-$4.out" 2>"clean-$3-$4.err"
rm -rf "$5/clean-$3-$4"
diff "$2/clean-$3-$4.expect" "clean-$3-$4.out"