Debian Codegraph @

debian/tests/fcopy

raw
1 #! /bin/bash
2
3 set -e
4
5 . ./debian/tests/common.sh
6 export PATH=$PATH:/sbin
7 cd "$AUTOPKGTEST_TMP"
8
9 fcopy -vs $CS/files/ -t /tmp -c DEBIAN,DEMO /etc/rc.local 2>&1 && error "wrong fcopy fail"
10 fcopy -vs $CS/files/ -t /tmp -c FAISERVER,CLOUD /etc/rc.local
11 chk-file /tmp/etc/rc.local
12 diff $CS/files/etc/rc.local/CLOUD /tmp/etc/rc.local || error "Files are not the same."