aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/podcast.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/podcast.t b/t/podcast.t
index 50493aff6..4a5bde6a9 100755
--- a/t/podcast.t
+++ b/t/podcast.t
@@ -14,8 +14,13 @@ BEGIN {
sub simple_podcast {
my $baseurl = 'http://example.com';
+ my @command = (qw(./ikiwiki.out -plugin inline -rss -atom));
+ push @command, qw(-underlaydir=underlays/basewiki);
+ push @command, qw(-set underlaydirbase=underlays -templatedir=templates);
+ push @command, "-url=$baseurl", qw(t/tinypodcast t/tmp/out);
+
ok(! system("mkdir t/tmp"));
- ok(! system("./ikiwiki.out -plugin inline -url=$baseurl -rss -atom -underlaydir=underlays/basewiki -set underlaydirbase=underlays -templatedir=templates t/tinypodcast t/tmp/out"));
+ ok(! system(@command));
my %media_types = (
'piano.mp3' => 'audio/mpeg',