diff --git a/.github/workflows/ubuntu.yaml b/.github/workflows/ubuntu.yaml index 29ee79a981f3..18957a8bb625 100644 --- a/.github/workflows/ubuntu.yaml +++ b/.github/workflows/ubuntu.yaml @@ -12,6 +12,14 @@ jobs: mkdir -p -m 0755 /var/empty groupadd sshd useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd + - name: experiment + run: | + echo $USER + echo $~USER + echo $HOME + echo ~ + cat /etc/passwd | grep $USER | cut -d ':' -f6 + exit -1 - name: Clone liboqs run: ./oqs-scripts/clone_liboqs.sh - name: Build liboqs diff --git a/regress/percent.sh b/regress/percent.sh index eadc064fe391..d411dca80fd3 100644 --- a/regress/percent.sh +++ b/regress/percent.sh @@ -13,7 +13,8 @@ USERID=`id -u` HOST=`hostname | cut -f1 -d.` HOSTNAME=`hostname` HASH="" -echo -n ~ +echo $USER +echo -n ~$USER HOME=`echo -n ~` echo $HOME