Artifact [1cc7cadab8]
Artifact 1cc7cadab8f59ff9803c8c92842a08f877bf14b1:
- File test/dir-rpm.test — part of check-in [9a96d3c3c4] at 2011-09-08 17:28:00 on branch trunk — - add more tests (user: jls@semicomplete.com size: 349)
#!/bin/sh run() { mkdir -p $tmpdir/{a,b,c}/{d,e,f} touch $tmpdir/a/hello touch $tmpdir/a/d/hello touch $tmpdir/c/d/hello fpm -s dir -t rpm -n testing -a all $tmpdir file=testing-1.0.noarch.rpm rpm -qlp $file > $output sed -e "s,TMPDIR,$(basename $tmpdir)," $expected.template > $expected rm $file } clean() { rm $expected }