tailscale/gostress
- 444 bytes
- Bash
- View raw
1#!/usr/bin/env bash
2# Shortcut for running the Go stress command.
3#
4# [1]: https://pkg.go.dev/golang.org/x/tools/cmd/stress
6set -o errexit
7set -o nounset
8set -o verbose
10rm -f /tmp/q.txt
11rm -rf /tmp/q/*
12rm -f stop.txt
13rm -f test.o
15set +o errexit
17set -o errexit
20then
21 echo test.o >> .git/info/exclude
23fi