Skip to content

Instantly share code, notes, and snippets.

@foswiki
foswiki / run-test.sh
Created February 26, 2012 17:07
To run Foswiki unit tests
#!/bin/bash
set -e # Exit if any command fail
set -u # Exit if any variable is unset
LOGFILE=${0%sh}log
PERL=$(which perl)
exec 4>&1
exec 5>&2
exec > >(tee $LOGFILE)
# Datafile for ho-reformat.pl, server notice reformatting.
# Part of the Hybrid Oper Script Collection.
# See http://www.garion.org/irssi/hosc.php for the full archive.
# -------------------------------------------------------------------
# This is the IRCnet 2.11 specific datafile.
# Created by Babar, based on Garion's one for Hybrid 7.
# NOTE: This file is far from complete. Additions are welcome.
# -------------------------------------------------------------------
# for i in `repoquery --whatrequires 'ruby' | grep -v ^ruby`; do echo $i; repoquery --requires $i | grep '^ruby '; done
graphviz-ruby-0:2.24.0-2.slc5.x86_64
facter-0:1.5.7-1.el5.noarch
ruby >= 1.8.1
amarok-0:1.4.10-7.20090624svn.el5.x86_64
openwsman-ruby-0:2.2.0-5.el5.x86_64
puppet-0:0.25.4-1.el5.noarch
ruby >= 1.8.1
kdebindings-0:3.5.4-6.el5.x86_64
ruby >= 1.8
,--[ScriptAssist]
| o autocycle Up to date. (0.4)
Useless
| o autoop Up to date. (1.00)
Useless
| o autorejoin Your version is newer (1.00->1.0.0)
Autorejoin channels after being kicked
| o autowhois Up to date. (1.1)
/whois upon new message
| o bitlbee_blist Up to date. (0.4)
#!/usr/local/bin/bash
# Location of the logfile
LOGFILE=/var/log/sms.log
# Debug
exec >> $LOGFILE
exec 2>&1
set -x
# End of Debug
package "afs_tools"
service "afs" do
supports :status => true, :restart => true
action [ :enable, :start ]
enabled true
running true
end
# But chkconfig afs and service afs status showed it not installed and not running
libarch = case node[:kernel][:machine]
when 'x86_64' then 'lib64'
else 'lib'
end
template "/etc/nagios/nrpe.cfg" do
source "nrpe.erb"
mode "0644"
owner "root"
group "root"
Switched to branch "master"
error: corrupt loose object 'ed0ba1661acc809308d14292e50ca358ef2ab79b'
error: corrupt loose object 'ed0ba1661acc809308d14292e50ca358ef2ab79b'
error: Could not read ed0ba1661acc809308d14292e50ca358ef2ab79b
trunk/core/tools/extender.pl was not found in commit e8c79d108065b36931beba7f07b7fd0243bcdd9c (r4381)