chiark
/
gitweb
/
~ian
/
hippotat.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
old-python: Delete python code
[hippotat.git]
/
test
/
capture-log
1
#!/bin/bash
2
# Copyright 2020-2022 Ian Jackson and contributors to Hippotat
3
# SPDX-License-Identifier: GPL-3.0-or-later
4
# There is NO WARRANTY.
5
set -e
6
7
log="$1"; shift
8
mkdir -p tmp
9
"$@" 2>&1 | ts >"$log"