fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningerbuiltin status: rename buildinfo to build-infoc0c7b364f

master
551 B18 linesraw
1#RUN: %fish %s
2# Example output:
3# Build system: CMake
4# Version: 3.7.1-2573-gea8301631-dirty
5# Target (and host): x86_64-unknown-linux-gnu
6# Profile: release
7# Features: gettext
8
9status build-info | grep -v 'Host:'
10# CHECK: Build system: {{CMake|Cargo}}
11# CHECK: Version: {{.+}}
12# (this could be "Target (and Host)" or "Target:" and a separate line "Host:")
13# CHECK: Target{{.*}}: {{.+}}
14# CHECK: Profile: {{release|debug}}
15# CHECK: Features:{{.*}}
16
17test "$(status build-info)" = "$(status buildinfo)"
18or echo 'missing backwards-compatible version?'