diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-07-10 13:56:17 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-07-10 13:56:17 -0400 |
commit | 1bdcc6b212783a59b0ec1d18121c617cda6d21cc (patch) | |
tree | 69347fed7db2bf8ebefad70296395778c72d8b44 | |
parent | d9be6e0e000053d0cb19c750497d1d9d65895d10 (diff) | |
download | xfstests-bld-1bdcc6b212783a59b0ec1d18121c617cda6d21cc.tar.gz |
test-appliance: fix testrunid determination for Debian Bookworm
Fixes: 835e610f676a ("test-appliance: get the instance name from the metadata server")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | test-appliance/files/usr/local/lib/gce-funcs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-appliance/files/usr/local/lib/gce-funcs b/test-appliance/files/usr/local/lib/gce-funcs index be192f1f..4e30d854 100644 --- a/test-appliance/files/usr/local/lib/gce-funcs +++ b/test-appliance/files/usr/local/lib/gce-funcs @@ -102,7 +102,7 @@ if test -f $GCE_STATE_DIR/testrunid then TESTRUNID=$(cat $GCE_STATE_DIR/testrunid) else - case "$HOSTNAME" in + case "$instance" in xfstests-*) TESTRUNID=$(echo $instance | sed -e 's/xfstests-//') ;; |